This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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?
It is sorta covered in the JavaRanch Style Guide.
subject: Struts - JAXB problem
Similar Threads
JAXB questions in 142 exam
Problem in Struts JAXB
specifications and API versions for SCDJWS.
JAXB Study Materials
JAXB + Maven. Dependency sharing