3 Replies Latest reply on Sep 9, 2002 11:06 AM by Adrian Brock

    Local client problem

    bergia Newbie

      Hi !

      I have a little problem that doesn't allow me to work since this morning ^_^
      Until this morning, i had no problem to launch my client program (just a poor java class, calling a session bean).
      But this morning, I wanted to make a test, and I added three java lines in a session bean and when I executed the client the following message appeared :

      "Exception in thread "main" java.lang.NoClassDefFoundError: com/alkinos/kernel/object/Entity
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:1613)
      at java.lang.Class.privateGetPublicMethods(Class.java:1641)
      at java.lang.Class.getMethods(Class.java:805)
      at sun.misc.ProxyGenerator.generateClassFile(ProxyGenerator.java:173)
      at sun.misc.ProxyGenerator.generateProxyClass(ProxyGenerator.java:74)
      at java.lang.reflect.Proxy.getProxyClass(Proxy.java:472)
      at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:672)
      at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:643)
      at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:507)
      at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:637)
      at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:309)
      at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:241)
      at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1459)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1422)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1616)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
      at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
      at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      at $Proxy0.create(Unknown Source)
      at Client.addCountries(Client.java:54)
      at Client.main(Client.java:291)"


      I don't understand why this message appeared... I'm sure that the 3 java lines added are not bad. And until this morning I never had this problem, and I just modified few java lines since Friday...

      SAVE ME PLEASE ;)