users@jaxb.java.net

Axis2 & "doesn't contain ObjectFactory.class or jaxb.index"

From: Trasca Virgil <virgil_trasca_at_yahoo.com>
Date: Sat, 12 Jan 2008 03:16:36 -0800 (PST)

Hi all,

     I have an application which is exposing some JAXB2 mapped classes as web services with Axis2. When I run my application as POJO from eclipse everything works fine so I am able to call my jaxb2 stuff and is returning correctly from the xml. But when I deploy the same in Axis2.war and I try to call an exposed jaxb2 method as webservice I get all the time
"burster.settings.model" doesn't contain ObjectFactory.class or jaxb.index"

The jaxb.index file exist in folder burster.settings.model so I don't understand the error message. Initially I was thinking it is a deployment class-path issue with Axis2 but I tried everything and I putted my jaxb2 data types (burster.settings.model) in web-inf\lib , web-inf\classes and everywhere trying to solve the issue but with the same result "burster.settings.model" doesn't contain ObjectFactory.class or jaxb.index".

What it can be the issue? Somebody else had the same problem?

Thank you,
Virgil