I have a Web app with struts 1.1 (with jdk 1.4 on Windows XP).
I choose jaxb (http://java.sun.com/xml/jaxb/index.jsp) 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("it.genialloyd.servixi.xml");
inside log4j log file --> Unable to locate jaxb.properties for package it.genialloyd.servixi.xml
Could you give me a suggest???
Thanks
Aldo Funicelli
-
jaxb Exception with struts (1 messages)
- Posted by: Aldo Funicelli
- Posted on: September 29 2004 09:09 EDT
Threaded Messages (1)
- jaxb Exception with struts by Sohail Sikora on September 29 2004 10:13 EDT
-
jaxb Exception with struts[ Go to top ]
- Posted by: Sohail Sikora
- Posted on: September 29 2004 10:13 EDT
- in response to Aldo Funicelli
When you generate the JAXB classes, it should create a jaxb.properties file and a bgm.ser file. These files should be packaged in the jar which contains your JAXB classes.