dev@glassfish.java.net

Re: NoClassDefFoundError when deploying a WS client to GFv3

From: Fabian Ritzmann <Fabian.Ritzmann_at_Sun.COM>
Date: Wed, 12 Aug 2009 11:22:25 +0300

On 11. Aug 2009, at 18:49, Potociar Marek wrote:

> Hi, I am (still) trying to deploy Metro WS-TX example[1] services
> and clients to GFv3. The service part somehow deploys (except fom
> some exceptions TldScanner). However, trying to deploy the WS
> clients fails on an NCDF error [2]
>
> The original ${j2ee.platform.wsimport.classpath} is not set by NB GF
> plugin at all, but the javax.xml.stream.XMLStreamException class
> definition is not part of the GFv3 modules anyway.
>
> Did anyone run to such issues before? How can I resolve it?

As far as I can see we include javax.xml.stream in webservices-api.jar
but not in webservices-api-osgi.jar. That is probably an oversight and
we need to fix the OSGi API bundle.

Fabian