[英]getting javax.servlet.ServletException: when running my eclipse on jboss?
I am getting javax.servlet.ServletException: when running my web application on jboss. 我在jboss上运行Web应用程序时遇到javax.servlet.ServletException:。 I am not getting want to do.
我不想做。 need help.
需要帮忙。 below is the log;
下面是日志;
javax.servlet.ServletException: Failed to load application class: com.example.tutorials.TutorialsApplication
com.vaadin.terminal.gwt.server.ApplicationServlet.init(ApplicationServlet.java:71)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Unknown Source)
It looks like the class ApplicationServlet
"fails to load the class" com.example.tutorials.TutorialsApplication
. 看起来类
ApplicationServlet
“无法加载该类” com.example.tutorials.TutorialsApplication
。 And this class is called "Application". 此类称为“应用程序”。 This is (probably) not a jboss/webapp error, but an error associated with the Vaadin framework.
(可能)不是jboss / webapp错误,而是与Vaadin框架相关的错误。
Is the "missing" class available on the classpath (in your war)? (在您的战争中)类路径上是否存在“缺失”类? In your project?
在您的项目中?
Why does ApplicationServlet
try to load the class? 为什么
ApplicationServlet
尝试加载该类? Is there some configuration pointing to this class (maybe in web.xml)? 是否有一些指向此类的配置(可能在web.xml中)? Have you renamed the class but not updated the config?
您是否已重命名该类但未更新配置?
Maybe not an answer to your question, but some troubleshooting tips... 也许不是您问题的答案,但有一些故障排除提示...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.