File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts - JAXB problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts - JAXB problem" Watch "Struts - JAXB problem" New topic

Struts - JAXB problem

BuccaneerAnirban Bhattacharjee

Joined: Nov 23, 2006
Posts: 9
have a Web app with struts
I choose jaxb to marshall/unmarshall xml stream to java object.
I used jaxb with a console app and everything was ok.
The same code, inside struts, give me the following error:

JAXBContext jc = JAXBContext.newInstance("com.sra.aci.xsd");

But I am getting exception once I run this step frm struts app

Could you give me a suggest???
Naveen K Garg
Ranch Hand

Joined: Nov 28, 2005
Posts: 105
Can you post the exception log stack trace?
I agree. Here's the link:
subject: Struts - JAXB problem
jQuery in Action, 3rd edition