Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JAXB Cannot find javax.xml.bind.annotation

843834Sep 12 2006 — edited Nov 10 2008
One of the files which I'm attempting to compile calls upon java classes within the following package:

javax.xml.bind.annotation

The classes and package structure is located within the Jar File (which I have added to my classpath) :

C:\Sun\jwsdp-1.6\jaxb\lib\jaxb-api.jar

HOWEVER

When I attempt to compile the files in a DOS Session It flags an error saying that javax.xml.bind.annotation does not exist :

Does anyone have any experience in this or any idea as to other possibilities i may try. I have verified the path of the package that it is correctly structured and the jar file is on my Classpath in Windows and my Path in Dos which I have set using a command in C:\autoexec.bat
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 8 2008
Added on Sep 12 2006
3 comments
910 views