点击此处---> 群内免费提供SAP练习系统(在群公告中)
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
嗨,我在系统更新期间经常遇到此错误。 请帮忙。
严重:路径为[]的上下文中的servlet [springmvc]的Servlet.service()抛出异常[处理程序调度失败; 嵌套异常是java.lang.NoClassDefFoundError:de/hybris/platform/util/JspContext],根本原因是java.lang.NoClassDefFoundError:com.hybris.backoffice.config.DefaultBackofficeStartupHandler.isBackofficeProjectDataUpdate( com.hybris.backoffice.config上的DefaultBackofficeStartupHandler.java:114)。com.hybris.backoffice.events.AbstractBackofficeEventListener.onEvent(AbstractBackofficeEventplat.java:67)上的com.hybris.backoffice.events.AbstractBackofficeStartupHandler.resetBackofficeWidgetsConfiguration(DefaultBackofficeStartupHandler.java:65) .servicelayer.event.impl.AbstractEventListener.onApplicationEvent(AbstractEventListener.java:66)位于de.hybris.platform.servicelayer.event.impl.AbstractEventListener.onApplicationEvent(AbstractEventListener.java:1)位于de.hybris.platform.servicelayer.event .impl.HybrisApplicationEventMulticaster.notifyListeners(HybrisApplicationEventMulticaster.java:91)位于de.hybris.platform.servicelayer.event.impl.HybrisApplicationEv org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)的entMulticaster.multicastEvent(HybrisApplicationEventMulticaster.java:61)org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)的de .hybris.platform.spring.ctx.CloseAwareApplicationContext.publishEvent(CloseAwareApplicationContext.java:107)位于de.hybris.platform.servicelayer.event.impl.SpringEventSender.sendEvent(SpringEventSender.java:33)位于de.hybris.platform.servicelayer .event.impl.PlatformClusterEventSender.sendEvent(PlatformClusterEventSender.java:60)位于de.hybris.platform.servicelayer.event.impl.DefaultEventService.lambda $ 0(DefaultEventService.java:121)位于java.util.stream.Streams $ StreamBuilderImpl。 de.hybris的java.util.stream.Streams $ ConcatSpliterator.forEachRemaining(Streams.java:742)处的forEachRemaining(Streams.java:419)at de.hybris处的java.util.stream.ReferencePipeline $ Head.forEach(ReferencePipeline.java:580) .pl atform.servicelayer.event.impl.DefaultEventService.sendEventUsingAllSenders(DefaultEventService.java:118)位于de.hybris.platform.servicelayer.event.impl.DefaultEventService.publishEvent(DefaultEventService.java:82)位于de.hybris.platform.servicelayer处。 internal.jalo.ServicelayerManager.notifyInitializationEnd(ServicelayerManager.java:286)位于de.hybris.platform.core.Initialization.doInitializeImpl(Initialization.java:632)位于de.hybris.platform.core.Initialization.access $ 5(Initialization.java :488),位于de.hybris.platform.core.Initialization $ 5.call(Initialization.java:812),位于de.hybris.platform.core.Initialization $ 5.call(Initialization.java:1),位于de.hybris.platform。 位于de.hybris.platform.core.Initialization.doInitialize(Initialization.java:844)的core.system.InitializationLockHandler.performLocked(InitializationLockHandler.java:80)位于.hybris.platform.hac.facade.HacInitUpdateFacade.executeInitUpdate(HacInitUpdateFacade.executeInitUpdate(HacInitUpdateFacade.executeInitUpdate(HacInitUpdateFacade。 java:67),网址为de.hybris.platform.hac.controller.platform.InitUpdateController.i nitExecuteWrap(InitUpdateController.java:120)位于sun.reflect.NativeMethodAccessorImpl.invoke0(原生方法)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl。 在org.springframework.web.method.support.InvocableHandlerMethod的java.lang.reflect.Method.invoke(Method.java:498)在org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)的org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter的.invokeForRequest(InvocableHandlerMethod.java:133) org.springframewo的.invokeHandlerMethod(RequestMappingHandlerAdapter.java:849)在org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:760)在org.springframewo org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)上的rk.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)在org.springframework.web.servlet.DispatcherServlet上。 org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)的org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)的doService(DispatcherServlet.java:901) 的org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)的.http.HttpServlet.service(HttpServlet.java:661)的javax.servlet.http.HttpServlet.service(HttpServlet.java:742)的。 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)上的org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)在org.apache.tomcat.websocket.server.WsFilter。 org.apache.catalina.core.ApplicationFilterChain.int上的doFilter(WsFilter.java:52) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)处的ernalDoFilter(ApplicationFilterChain.java:193)org.sitemesh处的org.sitemesh.webapp.contentfilter.ContentBufferingFilter.bufferAndPostProcess(ContentBufferingFilter.java:169)处的orgal。 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)上的org.sitemesh.config.ConfigurableSiteMeshFilter.doFilter(ConfigurableSiteMeshFilter.java:163)上的.webapp.contentfilter.ContentBufferingFilter.doFilter(ContentBufferingFilter.java:126) )的org.springframework.web.multipart.support.MultipartFilter.doFilterInternal(MultipartFilter.java:122)的org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)。 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)的OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)在org.apache.catalina.core.ApplicationFilterChain.doF org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:317)上的ilter(ApplicationFilterChain.java:166),org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java: 127)在org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:331)在org.springframework org.springframework.security.web.session.SessionManagementFilter上的.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:331)在org.springframework.security.web.session.SessionManagementFilter org.springframework.security.web.FilterChainProxy上的.doFilter(SessionManagementFilter.java:137)$ org.springframework.security.web.authentication.Anonym上的.VirtualFilterChain.doFilter(FilterChainProxy.java:331) org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:331)上的ousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)在org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter。 org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:331)处org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)处org.springframework org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:331)在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain处的.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:331)在org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) .doFilter(FilterChainProxy.java:331)位于org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterIn 在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:331)的org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)的ternal(BasicAuthenticationFilter.java:158) org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:331)上的.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)在org.springframework.security.web.authentication上 org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter)上的.logout.LogoutFilter.doFilter(LogoutFilter.java:116)在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:331)在org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter .java:100),位于org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java),位于org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(OncePerRequestFilter.java:107) :331),位于org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66),位于org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107),位于org.springframework.security。 org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)上的org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)在org.springframework.web.filter.OncePerRequestFilter处。 org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:331)的org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)的doFilter(OncePerRequestFilter.java:107) 在org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelPro上的org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:331) org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:331)的org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)的cessingFilter.java:157) org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java)上的org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)上的.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177) :263)位于org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193),位于org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)org.springframework.web.filter。 org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)上的HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
Aditya嗨,
我已在系统上解决此问题。
如果同时看到上述错误和以下错误:
work.beans.factory.BeanCreationException:在类路径资源[previewservice-spring.xml]中定义的名称为'com.hybris.backoffice.cockpitng.services.media.impl.MediaToPreviewResolutionStrategy#365e15e2'的bean创建时出错 豆失败;
然后将属性" mediaService"添加到以下路径的Bean" MediaToPreviewResolutionStrategy"中:
hybris \ bin \ custom \ otmm \ otmmaddonbackoffice \ resources \ previewservice-spring.xml
代码是:
希望这也可以解决您遇到的问题。
学习愉快:)
此致
您好专家
从6.6迁移到6.7时遇到相同的问题。
在选择所有扩展名并访问后台时更新系统时,会引发相同的错误。
2019年12月5日下午2:38:57 org.apache.catalina.core.StandardWrapperValve在路径[/hac]的上下文中为Servlet [springmvc]调用SEVERE:Servlet.service()引发异常[处理程序分配失败; 嵌套的异常是java.lang.NoClassDefFoundError:de/hybris/platform/util/JspContext],根本原因是java.lang.NoClassDefFoundError:com.hybris.backoffice.config.DefaultBackofficeStartupHandler.isBackofficeProjectDataUpdate( com.hybris.backoffice.config上的DefaultBackofficeStartupHandler.java:114)。com.hybris.backoffice.events.AbstractBackofficeEventListener.onEvent(AbstractBackofficeEventplat.java:67)上com.hybris.backoffice.events.AbstractBackofficeStartupHandler.resetBackofficeWidgetsConfiguration(DefaultBackofficeStartupHandler.java:65) .servicelayer.event.impl.AbstractEventListener.onApplicationEvent(AbstractEventListener.java:65)位于de.hybris.platform.servicelayer.event.impl.AbstractEventListener.onApplicationEvent(AbstractEventListener.java:1)位于de.hybris.platform.servicelayer.event .impl.HybrisApplicationEventMulticaster.notifyListeners(HybrisApplicationEventMulticaster.java:91)...
请对此提供帮助。
关于
您如何解决此问题?
一周热门 更多>