You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ding Lei <di...@ipanel.cn> on 2004/07/14 11:29:07 UTC

NoClassDefFoundError on a class file that does exists

Hello all, I am working on a Web application on Jboss 3.2.4 with Struts 1.1.
It reports NoClassDefFoundError on class com/embisoft/dvb/user/DVBUser,which
stays in a jar file under WEB-INF/lib.  

I'v double checked the jar file, and sure that the class file is just fine.
the problem doesn't occurs all the time, after several attempts of ant clean,
dist and war deploy, sometime the problem disappears.  I am sorry that if this
isn't the right place to post, not really sure whether a problem of JBoss or
Struts.

Thanks in advance.

Root cause
java.lang.NoClassDefFoundError: com/embisoft/dvb/server/DVBUser
com.embisoft.dvb.server.actions.LoginAction.login2(LoginAction.java:134)
com.embisoft.dvb.server.actions.LoginAction.execute(LoginAction.java:108)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.embisoft.dvb.server.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:170)


-- 
Layman <di...@ipanel.cn> Ext: 8059

"... an experienced, industrious, ambitious, and often quite often
picturesque liar."
		-- Mark Twain

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org