Hi,

Could you check if glassfish itself use some old xmlschem version?
It may not be introduced by yourself, and it's could be a general issue when you deploy cxf in some container.

Freeman
On 2011-6-17, at 下午7:20, Stiffler07 wrote:

Hi Freeman,

That didn't help, I updated the dependencies in my pom to the following, build the war and redeployed it to glassfish 3, but it's still the same
exception:

      <dependency>
                <groupId>mysql</groupId>
                <artifactId>mysql-connector-java</artifactId>
                <version>5.1.16</version>
                <scope>runtime</scope>
        </dependency>
        
        <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-rt-frontend-jaxws</artifactId>
                <version>2.4.0</version>
                <scope>runtime</scope>
        </dependency>
        <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-rt-transports-http</artifactId>
                <version>2.4.0</version>
                <scope>runtime</scope>
        </dependency>
        <dependency>
                <groupId>org.apache.ws.xmlschema</groupId>
                <artifactId>xmlschema-core</artifactId>
                <version>2.0</version>
        </dependency>
        <dependency>
                <groupId>com.sun.xml.bind</groupId>
                <artifactId>jaxb-xjc</artifactId>
                <version>2.1.12</version>
                <scope>compile</scope>
        </dependency>
        <dependency>
                <groupId>com.sun.xml.bind</groupId>
                <artifactId>jaxb-impl</artifactId>
                <version>2.1.12</version>
                <scope>compile</scope>
        </dependency>

regards,

Stephan

--
View this message in context: 
http://cxf.547215.n5.nabble.com/consuming-dynamic-client-in-glassfish-NoSuchFieldError-QUALIFIED-tp4496629p4498447.html
Sent from the cxf-user mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to