This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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?
subject: Struts - JAXB problem
It's not a secret anymore!