This content has been marked as final. Show 3 replies
I see no response to this post? Has anyone faced issues like this? Any kinda help would be greatly appreciated.
Even still I am getting NoClassDefFoundError in 4.2.0(GA) for the thrid-party jars.
On putting them inside the lib it seems to work. Is it mandatory now? Or can i change the setting somewhere?
You will have to post more details. The application packaging did not show up well, so not sure how the application is packaged. You can post the output of
jar -tf sample.ear
jar -tf mydemo.war
Post the entire exception stacktrace that you are seeing and also let us know where that class is placed (in which jar). Also post the contents of the application.xml and jboss-app.xml (and maybe even the MANIFEST.mf file).
3. For the html apps. We are facing the error Non-serializable-attribute in the function setAttribute. On removing the distributable tag from web.xml, it works. Is there any way to get it working with distributable tag??
Making an application distributable probably enables persisting the HTTPSession information. So your HTTPSession should not contain non-serializable attributes.
While posting the logs or code or xml content, remember to wrap it in a code block using the Code button in the message editor window and please hit the Preview button to make sure your post is correctly formatted
One thing which i have noticed is your
which should be in caps letters, i guess :)