I have a Web app with struts 1.1 (with jdk 1.4 on Windows XP).
- Posted by: Aldo Funicelli
- Posted on: September 29 2004 09:09 EDT
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???
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.