Skip to main content not reached

1 reply [Last post]
Joined: 2005-11-16

I have a problem reaching the file inside my generated package.

I´m importing my generated package on this way

import javax.xml.bind.*;

import CoordSuper.*;

import CoordSuper.impl.*;

and I´m using Jserv as Servlets engine with apache and JAXB 1.0.

If can compile and run my program at command line and is there no problem, it works fine; The problem arrives when I try to execute it invoked from a servlet.

The error message is :

javax.xml.bind.JAXBException: Unable to locate for package CoordSuper

at javax.xml.bind.ContextFinder.searchcontextPath(

at javax.xml.bind.ContextFinder.find(

at javax.xml.bind.JAXBContext.newInstance(

at javax.xml.bind.JAXBContext.newInstance(

at CoordSuperParser.(

at CoordSuperParser.main(

Has somebody an idea of what other technique can I use to reach my generated package?

Thanks in advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-25

Since this issue is related to the integration of JAXB 1.0 into Jserv, I would suggest you send this question to an alternate forum. You could also try deploying your servlet on JWSDP (see the bottom of the page of a list of supported containers).