I have a jar that I deploy in server\default\lib and then deploy a .war and a .ear. The .war doesn't seem to have a problem finding my classes. The .ear however gets a NoClassDefFoundError. Should this not work?
I am using JBoss AS 5.1
Please post the entire exception stacktrace. Also are you sure the jar file in the default/lib does infact have that class?
While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.