aspose file tools*
The moose likes JBoss/WildFly and the fly likes error at deploy time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "error at deploy time" Watch "error at deploy time" New topic
Author

error at deploy time

vyavasayo sthanaha
Greenhorn

Joined: Aug 26, 2011
Posts: 2
javax.servlet.ServletException: Servlet.init() for servlet hai threw exception
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
java.lang.Thread.run(Thread.java:619)
root cause

java.lang.NoClassDefFoundError: com/metaway/account/business/AccountBusiness
com.metaway.account.servlet.AccountServlet.init(AccountServlet.java:15)
javax.servlet.GenericServlet.init(GenericServlet.java:242)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
java.lang.Thread.run(Thread.java:619)
note The full stack trace of the root cause is available in the JBoss Web/3.0.0-CR1 logs.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Please do not just post stack traces. Please tell us what you are trying to do. And provide some background such as OS, JVM version and JBoss AS version.

The error:

java.lang.NoClassDefFoundError: com/metaway/account/business/AccountBusiness

means that that class was not found. Where is this class located within your application? And is your application an EAR, WAR, or something else?

See this: TellTheDetails


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error at deploy time