NoClassDefFoundError indicates that the class(es) that com/liferay/portal/SystemException is referring(may be through import statements or some other means) are NOT found in the classpath
yes man what u said is correct i have declared the related jar file in the classpath in the run.bat file.
Then also same error....
have you tried including both ejb jar files inside an ear file? You could reference both ejb jar files inside the application.xml descriptor. This would guarantee that classes from both ejb-jar files are loaded when the ear deployed and so avoid class loading problems.
hope this helps :-D
Yes, both the ejb jar files are inside the ear file only.
In the application.xml both the ejb jar files are declared already.
In the manifest also it is declared bu till same problem......
i'm experiencing the same problem:
i have one .ejb3 file in an .ear file and i get the same error on deployment.
on deployment when when jboss tries to start a session bean service inside the .ejb3 , it doesn't find an (entity) class that's inside the SAME .ejb3 file
this is a fresh jboss (4.0.3RC2) install. the same .ear file works on another existing installation of jboss (also 4.0.3RC2).
anyone has any ideas ? i've been struggling all day with this problem ...
See also http://wiki.jboss.org/wiki/Wiki.jsp?page=MainDeployerEnhancedSuffixOrder
Since 4.0.1 it can be controlled through conf/xmdesc/org.jboss.deployment.MainDeployer-xmbean
i only have 1 .ejb3 file to deploy, so i don't see how changing the order of deployment would help me..
both classes are in the same ejb3 file, but the can't find eachother, and i really really don't know why
problem solved : it appeared that a superclass (which was in an external jar file) wasn't found.. pretty hard to find out really , placing the jar in lib fixed it