dcsimg
NoClassDefFoundError When running HelloWorld test app in VxWorks using J2ME CDC
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, June 22, 2001 10:59 PM

hi i got NoClassDefFoundError(VxWorksFileSystem) when i tested the CVM built using J2ME CDC for VxWorks without any porting effort. any idea on what could be the problem? from the bin directory where cvm.o is present,i gave the command, runJava "-Djava.class.path=../testclasses.zip HelloWorld" i also attempted to trace the system operations using "-Xtrace:0x00100000". i gave the command, runJava "-Xtrace:0x00100000 -Djava.class.path=../testclasses.zip HelloWorld" the trace showed,info something like this... New Class found... Deleting Class java.io.VxworksFilesystem...    More>>


hi

i got NoClassDefFoundError(VxWorksFileSystem) when i tested the CVM built using J2ME CDC for VxWorks without any porting effort.

any idea on what could be the problem?

from the bin directory where cvm.o is present,i gave the command,

runJava "-Djava.class.path=../testclasses.zip HelloWorld"


i also attempted to trace the system operations using "-Xtrace:0x00100000".

i gave the command,

runJava "-Xtrace:0x00100000 -Djava.class.path=../testclasses.zip HelloWorld"


the trace showed,info something like this...

New Class found...

Deleting Class java.io.VxworksFilesystem...

then, it threw the stack trace saying NoClassDefFoundError

i'm herewith attaching the stack trace for your kind reference



java.lang.NoClassDefFoundError : java.io.VxWorksFileSystem

at java.io.FileSystem.getFileSystem()Ljava/io/FileSystem;(Native Method)

at java.io.File. ()V(File.java:98)

at java.lang.Class.runStaticInitializers()V(Class.java:1499)

at sun.misc.Launcher$ExtClassLoader.getExtClassLoader.getExtDirs()
[Ljava/io/File;(Launcher.java:164)

at sun.misc.Launcher$ExtClassLoader.getExtClassLoader()
Lsun/misc/Launcher$ExtClassLoader;(Launcher.java:130)

at sun.misc.Launcher. ()V(Launcher.java:70)

at sun.misc.Launcher$1.run()Ljava/lang/Object;(Launcher.java:52)

at java.security.AccessController.doPrivileged0
(Ljava/security/PrivilegedAction;
[Ljava/lang/Object;)Z(AccessController.java:265)

at java.security.AccessController.doPrivileged
(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)
Ljava/lang/Object;(AccessController.java:278)

at java.security.AccessController.doPrivileged
(Ljava/security/PrivilegedAction;)
Ljava.lang/Object;(AccessController.java:251)

at sun.misc.Launcher. ()v(Launcher.java:43)

at java.lang.Class.runStaticInitializers()V(Class.java:1499)

at java.lang.ClassLoader.getStaticClassLoader()
Ljava/lang/ClassLoader;(ClassLoader.java:968)



please guide me in solving this problem


thanks in advance,

ashok

   <<Less
About | Sitemap | Contact