启动tomcat服务器或尝试访问tooltwist设计器中的Test Page选项卡时,出现以下错误:
无法为UiModule找到UimDataStoredInSession tooltwist.ecommerce.RoutingUIM
以下是错误的堆栈跟踪:
2014-06-17 03:21:01,413 ERROR t.m.ServletUiModule - Error in Servlet tooltwist.ecommerce.RoutingUIM.doPost():
javax.servlet.ServletException: Can't find UimDataStoredInSession for UiModule tooltwist.ecommerce.RoutingUIM
at tooltwist.misc.ServletUiModule.doPost_menuOption(ServletUiModule.java:3221) [tooltwist.jar:na]
at tooltwist.misc.ServletUiModule.doPost(ServletUiModule.java:2995) [tooltwist.jar:na]
at tooltwist.misc.ServletUiModule.doGet(ServletUiModule.java:2955) [tooltwist.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) [servlet-api.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) [servlet-api.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [catalina.jar:7.0.40]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.40]
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) [catalina.jar:7.0.40]
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:489) [catalina.jar:7.0.40]
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) [catalina.jar:7.0.40]
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) [catalina.jar:7.0.40]
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:467) [catalina.jar:7.0.40]
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:338) [catalina.jar:7.0.40]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203) [catalina.jar:7.0.40]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [catalina.jar:7.0.40]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) [catalina.jar:7.0.40]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.40]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.40]
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008) [tomcat-coyote.jar:7.0.40]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) [tomcat-coyote.jar:7.0.40]
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) [tomcat-coyote.jar:7.0.40]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
2014-06-17 03:21:01,414 ERROR t.m.ServletUiModule - Root cause: null
2014-06-17 03:21:01,414 INFO c.d.u.UiModule - UiModule.getAlternativeUrl(module=null, url=/tooltwist/basic/error.jsp)
2014-06-17 03:21:01,414 INFO c.d.u.UiModule - UiModule.getAlternativeUrl(module=tooltwist.ecommerce.RoutingUIM, url=/tooltwist/basic/error.jsp)
答案 0 :(得分:0)
第一次调用servlet时,会加载此文件。它可以查看各种项目,网页设计项目(或其他任何项目),然后是ttWbd,ttStd,tooltwist和其他任何项目。如果找不到该文件,它将创建它,可能是在Web设计项目中。从那时起,使用了不正确的文件。
要解决此问题,请在 server / extension-projects 目录中找到此文件 uim.tooltwist.ecommerce.RoutingUIM.xml 。删除除 server / extension / ttWbd项目中的所有实例以外的所有实例。