IT修真院·坑乎 | Java(后端),CSS(前端),JavaScript(前端),PM(产品经理),UI(交互设计),QA(测试),Android(安卓APP),iOS(苹果APP),OP(运维),Python(后端)日常在线问答学习平台
咨询电话 : 010-59478634
切换导航
首页
我的提问
我的回答
我的点赞
消息通知
个人主页
×
提示
尚未登陆,前往官网登陆?
×
提示
尚未登陆,前往官网登陆?
CSS
JS
Android
IOS
JAVA
OP
PM
UI
QA
求职辅导
Python
运营
动画师
AIGC
CSS
JS
Android
IOS
JAVA
OP
PM
UI
QA
求职辅导
Python
运营
动画师
AIGC
所有任务
任务1
任务2
任务3
任务4
任务5
任务6
任务7
任务8
任务9
任务10
任务11
全部
问题
已收录
问题
未收录
问题
没有找到答案,去提问>>>
配置文件一直说我的bean创建不成功
1
2
class="cursor-pointer"> 详细描述
任务三的程序,原来写了只写了banner的完成程序的时候能跑,但后来将程序完善后就老是报错说我的bean创建失败。
class="cursor-pointer"> 错误截图
postman测试接口删除(修改)时,不出现页面
0
1
class="cursor-pointer"> 详细描述
postman提示JSPs only permit GET POST or HEAD
校验要写的多细
1
1
class="cursor-pointer"> 详细描述
是不是凡事会传参的地方都要写校验。比如要传个数字,是不是要写判空,判断是数字,数字的大小范围。不能是小数。等待,多个校验。
idea 下 tomcat 日志乱码
1
1
class="cursor-pointer"> 详细描述
log乱码示例: 31-May-2020 16:17:34.353 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.鏈嶅姟鍣ㄧ増鏈�: Apache Tomcat/9.0.35 31-May-2020 16:17:34.355 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鏈嶅姟鍣ㄦ瀯寤�: May 5 2020 20:36:20 UTC 31-May-2020 16:17:34.355 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鏈嶅姟鍣ㄧ増鏈彿(: 9.0.35.0 31-May-2020 16:17:34.355 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鎿嶄綔绯荤粺鍚嶇О: Windows 10 31-May-2020 16:17:34.356 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.鐗堟湰: 10.0 31-May-2020 16:17:34.356 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鏋舵瀯: amd64 31-May-2020 16:17:34.356 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 鐜鍙橀噺: C:\Program Files\Java\jdk1.8.0_231\jre 31-May-2020 16:17:34.356 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Java铏氭嫙鏈虹増鏈�: 1.8.0_231-b11 31-May-2020 16:17:34.356 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.渚涘簲鍟�: Oracle Corporation 31-May-2020 16:17:34.356 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\owlwinter\.IntelliJIdea2019.3\system\tomcat\Unnamed_Image-Studio_2 31-May-2020 16:17:34.356 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: D:\apache-tomcat-9.0.35 31-May-2020 16:17:34.356 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Djava.util.logging.config.file=C:\Users\owlwinter\.IntelliJIdea2019.3\system\tomcat\Unnamed_Image-Studio_2\conf\logging.properties 31-May-2020 16:17:34.357 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 31-May-2020 16:17:34.357 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dcom.sun.management.jmxremote= 31-May-2020 16:17:34.357 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dcom.sun.management.jmxremote.port=1099 31-May-2020 16:17:34.357 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dcom.sun.management.jmxremote.ssl=false 31-May-2020 16:17:34.357 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dcom.sun.management.jmxremote.password.file=C:\Users\owlwinter\.IntelliJIdea2019.3\system\tomcat\Unnamed_Image-Studio_2\jmxremote.password 31-May-2020 16:17:34.358 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dcom.sun.management.jmxremote.access.file=C:\Users\owlwinter\.IntelliJIdea2019.3\system\tomcat\Unnamed_Image-Studio_2\jmxremote.access 31-May-2020 16:17:34.358 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Djava.rmi.server.hostname=127.0.0.1 31-May-2020 16:17:34.358 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Djdk.tls.ephemeralDHKeySize=2048 31-May-2020 16:17:34.359 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Djava.protocol.handler.pkgs=org.apache.catalina.webresources 31-May-2020 16:17:34.359 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dignore.endorsed.dirs= 31-May-2020 16:17:34.359 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dcatalina.base=C:\Users\owlwinter\.IntelliJIdea2019.3\system\tomcat\Unnamed_Image-Studio_2 31-May-2020 16:17:34.359 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dcatalina.home=D:\apache-tomcat-9.0.35 31-May-2020 16:17:34.359 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Djava.io.tmpdir=D:\apache-tomcat-9.0.35\temp 31-May-2020 16:17:34.359 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent 鍦╦ava.library.path:[C:\Program Files\Java\jdk1.8.0_231\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\ProgramData\Anaconda3;D:\ProgramData\Anaconda3\Library\mingw-w64\bin;D:\ProgramData\Anaconda3\Library\usr\bin;D:\ProgramData\Anaconda3\Library\bin;D:\ProgramData\Anaconda3\Scripts;D:\Program Files (x86)\NetSarang\Xftp 6\;D:\Program Files (x86)\NetSarang\Xshell 6\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\Program Files (x86)\Calibre2\;C:\Program Files\Java\jdk1.8.0_231\bin;D:\apache-maven\bin;D:\mysql\bin;D:\Program Files\Git\cmd;D:\Program Files\VisualSVN Server\bin;D:\Program Files\TortoiseSVN\bin;C:\Users\owlwinter\AppData\Local\Microsoft\WindowsApps;D:\Wind\WWT\bin\;C:\Users\owlwinter\AppData\Local\GitHubDesktop\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;.]涓婃壘涓嶅埌鍩轰簬APR鐨凙pache Tomcat鏈満搴擄紝璇ュ簱鍏佽鍦ㄧ敓浜х幆澧冧腑鑾峰緱鏈�浣虫�ц兘 31-May-2020 16:17:34.669 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init 鍒濆鍖栧崗璁鐞嗗櫒 ["http-nio-8080"] 31-May-2020 16:17:34.710 淇℃伅 [main] org.apache.catalina.startup.Catalina.load 鏈嶅姟鍣ㄥ湪[627]姣鍐呭垵濮嬪寲 31-May-2020 16:17:34.740 淇℃伅 [main] org.apache.catalina.core.StandardService.startInternal 姝e湪鍚姩鏈嶅姟[Catalina] 31-May-2020 16:17:34.740 淇℃伅 [main] org.apache.catalina.core.StandardEngine.startInternal 姝e湪鍚姩 Servlet 寮曟搸锛歔Apache Tomcat/9.0.35] 31-May-2020 16:17:34.754 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start 寮�濮嬪崗璁鐞嗗彞鏌刐"http-nio-8080"] 31-May-2020 16:17:34.768 淇℃伅 [main] org.apache.catalina.startup.Catalina.start [57]姣鍚庢湇鍔″櫒鍚姩
class="cursor-pointer"> 错误截图
tomcat log乱码截图
使用脚本抓取Nginx日志的时候怎么能准确抓到请求响应时间这一栏
0
1
Nginx
class="cursor-pointer"> 详细描述
就是我在nginx的日志里面添加了request_time这一栏,怎么使用脚本命令准确抓出这一个数据
垂纶小室中艺术家信息模块该如何处理
0
1
class="cursor-pointer"> 详细描述
垂纶小室项目中,艺术家信息的格式是否也要于图片的格式相同(一张图片对应一个图片的描述信息), 因为艺术家信息模块里面设计到多张图片对应一个描述 如果格式不同应该怎么处理为好 (目前的处理方法是把艺术家里面的图片和其他图片写在一个表里,相同对待)
class="cursor-pointer"> 错误截图
修真院的项目实例
Controller中,访问带有占位符的uri地址时,浏览器输不能识别
0
1
class="cursor-pointer"> 详细描述
Controller中使用rest风格的uri,如:@RequestMapping(value = "/categorys/{uperId}/2",method = RequestMethod.GET) 这里入参使用了@PathVariable注解,在浏览器中直接输入localhost:8080/api/categorys/{uperId}/2?uperId=2 时,2不能赋值到{uperId}里
class="cursor-pointer"> 错误截图
DispatcherServlet with name 'springmvc-dispatcher' processing GET request for [/json/categorys/%7BuperId%7D/2] [DEBUG] 2019-08-14 09:24:58,018 method:org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:310) Looking up handler method for path /json/categorys/{uperId}/2 [DEBUG] 2019-08-14 09:24:58,033 method:org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:317) Returning handler method [public java.util.Map
com.jnshu.controller.JsonController.getFirstCategory(java.lang.Integer)] [DEBUG] 2019-08-14 09:24:58,033 method:org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:251) Returning cached instance of singleton bean 'jsonController' [DEBUG] 2019-08-14 09:24:58,034 method:org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:955) Last-Modified value for [/json/categorys/%7BuperId%7D/2] is: -1 [DEBUG] 2019-08-14 09:24:58,078 method:org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:164) Failed to resolve argument 0 of type 'java.lang.Integer' org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "{uperId}" at org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.resolveArgument(AbstractNamedValueMethodArgumentResolver.java:128) at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:121) at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:158) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:128) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NumberFormatException: For input string: "{uperId}" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.valueOf(Integer.java:766) at org.springframework.util.NumberUtils.parseNumber(NumberUtils.java:208) at org.springframework.beans.propertyeditors.CustomNumberEditor.setAsText(CustomNumberEditor.java:113) at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:468) at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:441) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:199) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:108) at org.springframework.beans.TypeConverterSupport.doConvert(TypeConverterSupport.java:64) at org.springframework.beans.TypeConverterSupport.convertIfNecessary(TypeConverterSupport.java:47) at org.springframework.validation.DataBinder.convertIfNecessary(DataBinder.java:713) at org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.resolveArgument(AbstractNamedValueMethodArgumentResolver.java:120) ... 36 more [DEBUG] 2019-08-14 09:24:58,080 method:org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:133) Resolving exception from handler [public java.util.Map
com.jnshu.controller.JsonController.getFirstCategory(java.lang.Integer)]: org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "{uperId}" [DEBUG] 2019-08-14 09:24:58,083 method:org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:133) Resolving exception from handler [public java.util.Map
com.jnshu.controller.JsonController.getFirstCategory(java.lang.Integer)]: org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "{uperId}" [DEBUG] 2019-08-14 09:24:58,083 method:org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:133) Resolving exception from handler [public java.util.Map
com.jnshu.controller.JsonController.getFirstCategory(java.lang.Integer)]: org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "{uperId}" [DEBUG] 2019-08-14 09:24:58,084 method:org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:133) Resolving exception from handler [public java.util.Map
com.jnshu.controller.JsonController.getFirstCategory(java.lang.Integer)]: org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "{uperId}" [DEBUG] 2019-08-14 09:24:58,084 method:org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:133) Resolving exception from handler [public java.util.Map
com.jnshu.controller.JsonController.getFirstCategory(java.lang.Integer)]: org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "{uperId}" [DEBUG] 2019-08-14 09:24:58,084 method:org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:133) Resolving exception from handler [public java.util.Map
com.jnshu.controller.JsonController.getFirstCategory(java.lang.Integer)]: org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "{uperId}" [DEBUG] 2019-08-14 09:24:58,084 method:org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:133) Resolving exception from handler [public java.util.Map
com.jnshu.controller.JsonController.getFirstCategory(java.lang.Integer)]: org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "{uperId}" [WARN ] 2019-08-14 09:24:58,119 method:org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver.handleTypeMismatch(DefaultHandlerExceptionResolver.java:361) Failed to bind request element: org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "{uperId}" [DEBUG] 2019-08-14 09:24:58,120 method:org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1048) Null ModelAndView returned to DispatcherServlet with name 'springmvc-dispatcher': assuming HandlerAdapter completed request handling [DEBUG] 2019-08-14 09:24:58,120 method:org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1000) Successfully completed request
class="cursor-pointer"> 源码
/*由一级目录查看二级目录*/ @RequestMapping(value = "/categorys/{uperId}/2",method = RequestMethod.GET)@ResponseBodypublic Map
getFirstCategory(@PathVariable Integer uperId){ Map
categorys = new HashMap<>(); if(uperId==1){ Category c1 = new Category(); c1.setId(4); c1.setName("李白"); c1.setUpperId(0); Category c2 = new Category(); c2.setId(5); c2.setName("杜甫"); c2.setUpperId(0); Category c3 = new Category(); c3.setId(6); c3.setName("白居易"); c3.setUpperId(0); categorys.put("诗人1",c1); categorys.put("诗人2",c2); categorys.put("诗人3",c3); return categorys; }else { Category c1 = new Category(); c1.setId(7); c1.setName("唐伯虎"); c1.setUpperId(0); Category c2 = new Category(); c2.setId(8); c2.setName("祝枝山"); c2.setUpperId(0); Category c3 = new Category(); c3.setId(9); c3.setName("张择端"); c3.setUpperId(0); categorys.put("画家1",c1); categorys.put("画家2",c2); categorys.put("画家3",c3); return categorys; }}
程序运行提示spring配置异常
1
1
class="cursor-pointer"> 详细描述
程序运行时一直提示 org.springframework.util.xml.SimpleSaxErrorHandler 48 warning - Ignored XML validation warning org.xml.sax.SAXParseException: schema_reference.4: 无法读取方案文档 'http://www.springframework.org/schema/cache/spring-context.xsd', 原因为 1) 无法找到文档; 2) 无法读取文档; 3) 文档的根元素不是
。
class="cursor-pointer"> 错误截图
关于任务三
0
1
class="cursor-pointer"> 详细描述
任务三的接口文档梳理非常繁琐,不知道以后在开发中是不是也要遵循这样的标准,还有就是任务三前后端交互的话如何实现数据的传输,是否通过任务二当中我们写定好的json
AOP + log4j一直返回null
1
1
aop
class="cursor-pointer"> 详细描述
设置了两个AOP。 一个记录运行时间;一个打入参和返回值日志。 运行时间可以打出来,入参也没问题。 但是返回值永远都是null。 而且一旦开启打入参的AOP,就无法访问页面。
class="cursor-pointer"> 错误截图
首页
1
2
3
4
5
6
>
末页
去第
页
确定
Copyright ©2015 北京葡萄藤信息技术有限公司 All Rights Reserved | 京ICP备15035574号-1
6
5
0
10