NoClassDefFoundError Files.Symantec.Norton with xjc tool

A

Asra

I'm using JWSDP to parse some XML, but when I use the xjc tool to
build my xsd file I get the following error: NoClassDefFoundError:
Files\Symantec\Norton. Where do I find this class? Why am I getting
this error? I saw the same problem posted on the web somewhere but its
solution link is not working now. It's somehow related to setting the
PATH.
Regards,
Asra
 
F

Frank

I'm using JWSDP to parse some XML, but when I use the xjc tool to
build my xsd file I get the following error: NoClassDefFoundError:
Files\Symantec\Norton. Where do I find this class? Why am I getting
this error? I saw the same problem posted on the web somewhere but its
solution link is not working now. It's somehow related to setting the
PATH.
Regards,
Asra

Close... probably your CLASSPATH. You'll need to specify how your program
is being invoked. Looks like it's attempting to run something like:

java -cp somejar.jar;c:\program files\symantec\norton SomeProgram

where someone has forgotten to wrap the 2nd to last argument in quotes to
ensure that it is treated as one argument instead of two. In this case, it
would be

java -cp "somejar.jar;c:\program files\symantec\norton" SomeProgram

HTH

-Frank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top