wood burning stoves 2.0*
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
Author

Struts - JAXB problem

BuccaneerAnirban Bhattacharjee
Greenhorn

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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts - JAXB problem