调用自定义@On事件处理程序时出错

2020-08-23 00:10发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


您好CAP专家,您好 Maximilian Streifeneder

在使NodeJS CAP/Cloud SDK与OnPremise ABAP开发人员版本提供的OData服务进行通信之后,我尝试使用Java进行同样的操作。 我已经创建了项目: epmbp-consumer-app-java 。 从数据库提供数据的端点工作正常。 但是,只要我调用端点:

 http://localhost:8080/odata/v4/CatalogService/EPMBusinessPartners 

我收到以下错误消息:

 {"错误":{"代码":" INTERNAL_SERVER_ERROR","消息":"类com.sap.cds.services.ServiceException试图访问方法'java.lang.Throwable org.slf4j.helpers.MessageFormatter。  getThrowableCandidate(java.lang.Object [])'(com.sap.cds.services.ServiceException和org.slf4j.helpers.MessageFormatter在加载程序'app'的未命名模块中)","详细信息":[]}} 

在控制台中,我看到以下错误:

 2020-02-29 18:27:47.536错误55667-[nio-8080-exec-3] cscaovpimpl.DataProvider:类com.sap.cds.services.ServiceException尝试访问方法'java.lang  .Throwable org.slf4j.helpers.MessageFormatter.getThrowableCandidate(java.lang.Object [])'(com.sap.cds.services.ServiceException和org.slf4j.helpers.MessageFormatter位于加载程序" app"的未命名模块中)


 java.lang.IllegalAccessError:类com.sap.cds.services.ServiceException尝试访问方法'java.lang.Throwable org.slf4j.helpers.MessageFormatter.getThrowableCandidate(java.lang.Object [])'(com.sap。  cds.services.ServiceException和org.slf4j.helpers.MessageFormatter位于加载程序" app"的未命名模块中)
         在com.sap.cds.services.ServiceException。(ServiceException.java:65)〜[cds-services-api-1.3.0.jar:na]
         在com.sap.cds.services.ServiceException。(ServiceException.java:40)〜[cds-services-api-1.3.0.jar:na]
         在com.sap.cds.services.impl.ContextualizedServiceException。(ContextualizedServiceException.java:36)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.ServiceImpl.dispatch(ServiceImpl.java:205)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.persistence.PersistenceServiceImpl.dispatch(PersistenceServiceImpl.java:82)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.ServiceImpl.emit(ServiceImpl.java:127)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.cds.CdsServiceBaseImpl.run(CdsServiceBaseImpl.java:44)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.cds.CdsDefaultOnHandler.defaultRead(CdsDefaultOnHandler.java:22)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.handlerregistry.HandlerRegistryTools.invoke(HandlerRegistryTools.java:149)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.handlerregistry.HandlerRegistryTools.lambda $ register $ 2(HandlerRegistryTools.java:118)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.ServiceImpl.dispatch(ServiceImpl.java:184)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.ServiceImpl.emit(ServiceImpl.java:127)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.cds.CdsServiceBaseImpl.run(CdsServiceBaseImpl.java:44)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.cds.CdsServiceBaseImpl.run(CdsServiceBaseImpl.java:34)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.CdsODataHandlers.get(CdsODataHandlers.java:88)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.DataProvider.lambda $ processQueryRequest $ 2(DataProvider.java:133)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.services.impl.runtime.CdsRuntimeImpl.runInRequestContext(CdsRuntimeImpl.java:154)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.DataProvider.processQueryRequest(DataProvider.java:124)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.DataProvider.processRequestsBasedOnMethods(DataProvider.java:104)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.DataProvider.lambda $ processChangesetRequest $ 0(DataProvider.java:84)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.handlers.ODataProcessorHandler.lambda $ runInReqContextIfNecessary $ 2(ODataProcessorHandler.java:731)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.services.impl.runtime.CdsRuntimeImpl.runInChangeSetContext(CdsRuntimeImpl.java:163)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.handlers.ODataProcessorHandler.runInReqContextIfNecessary(ODataProcessorHandler.java:730)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.DataProvider.processChangesetRequest(DataProvider.java:90)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.GenericODataProcessor.readEntityCollectionInternal(GenericODataProcessor.java:309)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.GenericODataProcessor.readEntityCollection(GenericODataProcessor.java:277)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.GenericODataProcessor.readEntityCollection(GenericODataProcessor.java:76)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataDispatcher.handleEntityCollectionDispatching(ODataDispatcher.java:529)〜[odata-v4-lib-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataDispatcher.handleEntityDispatching(ODataDispatcher.java:511)〜[odata-v4-lib-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataDispatcher.handleResourceDispatching(ODataDispatcher.java:152)〜[odata-v4-lib-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataDispatcher.dispatch(ODataDispatcher.java:118)〜[odata-v4-lib-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataHandlerImpl.processInternal(ODataHandlerImpl.java:170)〜[odata-v4-lib-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataHandlerImpl.process(ODataHandlerImpl.java:86)〜[odata-v4-lib-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataHttpHandlerImpl.process(ODataHttpHandlerImpl.java:75)〜[odata-v4-lib-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataHttpHandlerImpl.process(ODataHttpHandlerImpl.java:89)〜[odata-v4-lib-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.CdsODataV4Servlet.service(CdsODataV4Servlet.java:111)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在javax.servlet.http.HttpServlet.service(HttpServlet.java:741)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在com.sap.cds.framework.spring.config.adapter.ServletAdapterRestController.handleRequest(ServletAdapterRestController.java:28)〜[cds-framework-spring-boot-1.3.0.jar:na]
         在org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:52)〜[spring-webmvc-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)〜[spring-webmvc-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)〜[spring-webmvc-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)〜[spring-webmvc-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)〜[spring-webmvc-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在javax.servlet.http.HttpServlet.service(HttpServlet.java:634)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)〜[spring-webmvc-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在javax.servlet.http.HttpServlet.service(HttpServlet.java:741)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)〜[tomcat-embed-websocket-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)〜[spring-web-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)〜[spring-web-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)〜[spring-web-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)〜[spring-web-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)〜[spring-web-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)〜[spring-web-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.coyote.AbstractProtocol $ ConnectionHandler.process(AbstractProtocol.java:868)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.doRun(NioEndpoint.java:1639)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)〜[na:na]
         在java.base/java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:628)〜[na:na]
         在org.apache.tomcat.util.threads.TaskThread $ WrappingRunnable.run(TaskThread.java:61)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在java.base/java.lang.Thread.run(Thread.java:834)〜[na:na]
 

希望有人可以帮助我解决此问题。

最好的问候
格雷戈尔

CC: Henning Heitkoetter

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


您好CAP专家,您好 Maximilian Streifeneder

在使NodeJS CAP/Cloud SDK与OnPremise ABAP开发人员版本提供的OData服务进行通信之后,我尝试使用Java进行同样的操作。 我已经创建了项目: epmbp-consumer-app-java 。 从数据库提供数据的端点工作正常。 但是,只要我调用端点:

 http://localhost:8080/odata/v4/CatalogService/EPMBusinessPartners 

我收到以下错误消息:

 {"错误":{"代码":" INTERNAL_SERVER_ERROR","消息":"类com.sap.cds.services.ServiceException试图访问方法'java.lang.Throwable org.slf4j.helpers.MessageFormatter。  getThrowableCandidate(java.lang.Object [])'(com.sap.cds.services.ServiceException和org.slf4j.helpers.MessageFormatter在加载程序'app'的未命名模块中)","详细信息":[]}} 

在控制台中,我看到以下错误:

 2020-02-29 18:27:47.536错误55667-[nio-8080-exec-3] cscaovpimpl.DataProvider:类com.sap.cds.services.ServiceException尝试访问方法'java.lang  .Throwable org.slf4j.helpers.MessageFormatter.getThrowableCandidate(java.lang.Object [])'(com.sap.cds.services.ServiceException和org.slf4j.helpers.MessageFormatter位于加载程序" app"的未命名模块中)


 java.lang.IllegalAccessError:类com.sap.cds.services.ServiceException尝试访问方法'java.lang.Throwable org.slf4j.helpers.MessageFormatter.getThrowableCandidate(java.lang.Object [])'(com.sap。  cds.services.ServiceException和org.slf4j.helpers.MessageFormatter位于加载程序" app"的未命名模块中)
         在com.sap.cds.services.ServiceException。(ServiceException.java:65)〜[cds-services-api-1.3.0.jar:na]
         在com.sap.cds.services.ServiceException。(ServiceException.java:40)〜[cds-services-api-1.3.0.jar:na]
         在com.sap.cds.services.impl.ContextualizedServiceException。(ContextualizedServiceException.java:36)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.ServiceImpl.dispatch(ServiceImpl.java:205)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.persistence.PersistenceServiceImpl.dispatch(PersistenceServiceImpl.java:82)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.ServiceImpl.emit(ServiceImpl.java:127)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.cds.CdsServiceBaseImpl.run(CdsServiceBaseImpl.java:44)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.cds.CdsDefaultOnHandler.defaultRead(CdsDefaultOnHandler.java:22)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.handlerregistry.HandlerRegistryTools.invoke(HandlerRegistryTools.java:149)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.handlerregistry.HandlerRegistryTools.lambda $ register $ 2(HandlerRegistryTools.java:118)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.ServiceImpl.dispatch(ServiceImpl.java:184)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.ServiceImpl.emit(ServiceImpl.java:127)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.cds.CdsServiceBaseImpl.run(CdsServiceBaseImpl.java:44)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.services.impl.cds.CdsServiceBaseImpl.run(CdsServiceBaseImpl.java:34)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.CdsODataHandlers.get(CdsODataHandlers.java:88)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.DataProvider.lambda $ processQueryRequest $ 2(DataProvider.java:133)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.services.impl.runtime.CdsRuntimeImpl.runInRequestContext(CdsRuntimeImpl.java:154)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.DataProvider.processQueryRequest(DataProvider.java:124)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.DataProvider.processRequestsBasedOnMethods(DataProvider.java:104)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.DataProvider.lambda $ processChangesetRequest $ 0(DataProvider.java:84)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.handlers.ODataProcessorHandler.lambda $ runInReqContextIfNecessary $ 2(ODataProcessorHandler.java:731)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.services.impl.runtime.CdsRuntimeImpl.runInChangeSetContext(CdsRuntimeImpl.java:163)〜[cds-services-impl-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.handlers.ODataProcessorHandler.runInReqContextIfNecessary(ODataProcessorHandler.java:730)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.DataProvider.processChangesetRequest(DataProvider.java:90)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.GenericODataProcessor.readEntityCollectionInternal(GenericODataProcessor.java:309)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.GenericODataProcessor.readEntityCollection(GenericODataProcessor.java:277)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.processors.impl.GenericODataProcessor.readEntityCollection(GenericODataProcessor.java:76)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataDispatcher.handleEntityCollectionDispatching(ODataDispatcher.java:529)〜[odata-v4-lib-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataDispatcher.handleEntityDispatching(ODataDispatcher.java:511)〜[odata-v4-lib-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataDispatcher.handleResourceDispatching(ODataDispatcher.java:152)〜[odata-v4-lib-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataDispatcher.dispatch(ODataDispatcher.java:118)〜[odata-v4-lib-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataHandlerImpl.processInternal(ODataHandlerImpl.java:170)〜[odata-v4-lib-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataHandlerImpl.process(ODataHandlerImpl.java:86)〜[odata-v4-lib-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataHttpHandlerImpl.process(ODataHttpHandlerImpl.java:75)〜[odata-v4-lib-1.3.0.jar:na]
         在org.apache.olingo.server.core.ODataHttpHandlerImpl.process(ODataHttpHandlerImpl.java:89)〜[odata-v4-lib-1.3.0.jar:na]
         在com.sap.cds.adapter.odata.v4.CdsODataV4Servlet.service(CdsODataV4Servlet.java:111)〜[cds-adapter-odata-v4-1.3.0.jar:na]
         在javax.servlet.http.HttpServlet.service(HttpServlet.java:741)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在com.sap.cds.framework.spring.config.adapter.ServletAdapterRestController.handleRequest(ServletAdapterRestController.java:28)〜[cds-framework-spring-boot-1.3.0.jar:na]
         在org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:52)〜[spring-webmvc-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)〜[spring-webmvc-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)〜[spring-webmvc-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)〜[spring-webmvc-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)〜[spring-webmvc-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在javax.servlet.http.HttpServlet.service(HttpServlet.java:634)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)〜[spring-webmvc-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在javax.servlet.http.HttpServlet.service(HttpServlet.java:741)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)〜[tomcat-embed-websocket-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)〜[spring-web-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)〜[spring-web-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)〜[spring-web-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)〜[spring-web-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)〜[spring-web-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)〜[spring-web-5.2.3.RELEASE.jar:5.2.3.RELEASE]
         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.coyote.AbstractProtocol $ ConnectionHandler.process(AbstractProtocol.java:868)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.doRun(NioEndpoint.java:1639)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)〜[na:na]
         在java.base/java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:628)〜[na:na]
         在org.apache.tomcat.util.threads.TaskThread $ WrappingRunnable.run(TaskThread.java:61)〜[tomcat-embed-core-9.0.31.jar:9.0.31]
         在java.base/java.lang.Thread.run(Thread.java:834)〜[na:na]
 

希望有人可以帮助我解决此问题。

最好的问候
格雷戈尔

CC: Henning Heitkoetter

付费偷看设置
发送
2条回答
d56caomao
1楼 · 2020-08-23 01:05.采纳回答
huskylover
2楼-- · 2020-08-23 01:09

确切的区别是什么?

一周热门 更多>