简体   繁体   English

获取javax.servlet.ServletException:在jboss上运行我的日食时?

[英]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.

相关问题 在Tomcat上运行时获取javax.servlet.ServletException: - getting javax.servlet.ServletException:when running on Tomcat Javax.servlet.ServletException - Javax.servlet.ServletException JBoss中的“javax.servlet.ServletException:非HTTP请求或响应” - “javax.servlet.ServletException: non-HTTP request or response” in JBoss javax.servlet.ServletException:从“ viralpatel.net”运行示例时,Servlet.init()异常 - javax.servlet.ServletException: Servlet.init() exception when running example from “viralpatel.net” 避免使用javax.servlet.ServletException - avoid javax.servlet.ServletException 接收序列化对象时,出现“ javax.servlet.ServletException:java.lang.RuntimeException:找不到ClassLoaders:”异常 - Getting “javax.servlet.ServletException: java.lang.RuntimeException: No ClassLoaders found for:” exception when receiving serialization object primefaces自动完成javax.servlet.ServletException - primefaces autocomplete javax.servlet.ServletException javax.servlet.ServletException:缺少jspFile - javax.servlet.ServletException: missing jspFile javax.servlet.ServletException:通信链接失败 - javax.servlet.ServletException: Communications link failure JSF核心问题:javax.servlet.ServletException - JSF Core issue: javax.servlet.ServletException
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM