This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes java.rmi.servererror : unexpected error ; nested exception is java.lang.noclassdefounderror runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "java.rmi.servererror : unexpected error ; nested exception is java.lang.noclassdefounderror runtime" Watch "java.rmi.servererror : unexpected error ; nested exception is java.lang.noclassdefounderror runtime" New topic
Author

java.rmi.servererror : unexpected error ; nested exception is java.lang.noclassdefounderror runtime

sheethal Kumar choppari
Greenhorn

Joined: Jun 23, 2012
Posts: 17
while deploying it was fine. but at run time it is throwing java.rmi.servererror : unexpected error ; nested exception is java.lang.noclassdefounderror in my local jboss server. it was working fine before. since last two days suddenly i am getting this error. if it is class loading issue. it was working fine before and why not now.
harshvardhan ojha
Ranch Hand

Joined: Jul 26, 2007
Posts: 157
    
    1

Hi Sheethal, check your classpath have that class, it might be overridden recently. or check if jar have it in class path. It might also be an issue with permission, check if the user have permission to load that jar. Check log and make sure that this class is not getting exception while initialization. i.e. static block.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.rmi.servererror : unexpected error ; nested exception is java.lang.noclassdefounderror runtime