java.lang.NoClassDefFoundError

com/sun/enterprise/admin/monitor/registry/MonitoringLevelListener I found out that gf\lib\appserv-admin.jar contains the missing class but when re-executing I get the following exception: .... .enterprise.naming.SerialContext.lookup(SerialContext.java:309)

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10

  • via by demiant,
  • via by 843830,
  • Stack trace

    • java.lang.NoClassDefFoundError: com/sun/enterprise/admin/monitor/registry/MonitoringLevelListener I found out that gf\lib\appserv-admin.jar contains the missing class but when re-executing I get the following exception: .... .enterprise.naming.SerialContext.lookup(SerialContext.java:309) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:79) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:314) at javax.naming.InitialContext.lookup(InitialContext.java:392) at edentity.tmp.jms.JmsClient.main(JmsClient.java:49) Caused by: java.io.IOException: Mismatched serialization UIDs : Source (Rep. IDRMI:com.sun.enterprise.deployment.util.ModuleDescriptor:C75D6E6299976F67:835F48D75980500F) = 835F48D75980500F whereas Target (Rep. ID RMI:com.sun.enterprise.deployment.util.ModuleDescriptor:1ABBCF4A514CC62E:34DA069DE5553193) = 34DA069DE5553193 at com.sun.corba.ee.impl.util.RepositoryId.useFullValueDescription(RepositoryId.java:573) at com.sun.corba.ee.impl.io.ValueHandlerImpl.useFullValueDescription(ValueHandlerImpl.java:386) at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:395) at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:329)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    No Bugmate found.