Close
jGuru Forums
Posted By: junior_junior Posted On: Sunday, June 11, 2006 02:50 AM
Hi, i am working with mobil agents for sniffing a lan.But when i create a new instance of my class on a remote machine, it triggers errors .Those instructions are: Class cl=Agence.loader.loadClassFromBytes((String)bytecodes.get(vSize-2), (byte[])bytecodes.get(vSize-1), true); Object test=cl.newInstance(); That is the error message: java.lang.NoClassDefFoundError: recherchereseau/ui at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610) at java.lang.Class.getConstructor0(Class.java:1922) at java.lang.Class.newInstance0(Class.java:278) at java.lang.Class.newInstance(Class.java:261) at agentmobile.NetworkListener.run(Agence.java:140) I need a help , please. regards.
Re: How can i resolve the NoClassDefFoundError?
Posted By: govind_raju Posted On: Thursday, June 15, 2006 03:00 AM