Hi all,
I have an Enterprise app consist of war, ejb and appclient moodules.
When I run on Netbeans7.0 it runs fine, but when upload to the
production server. I get the below error while trying to run the
client app using appclient -client.
Pls anyone has experience with this to assist.
Thanks
Exception in thread "main" java.lang.NoClassDefFoundError:
org/glassfish/appclient/client/acc/UserError
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getMethod0(Class.java:2670)
at java.lang.Class.getMethod(Class.java:1603)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:294)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)
Caused by: java.lang.ClassNotFoundException:
org.glassfish.appclient.client.acc.UserError
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 6 more
FATAL ERROR in native method: processing of -javaagent failed