Withheld
Withheld

Reputation: 4703

Could not find jaxws21 frontend within classpath

For various reasons I need to try out the jaxws21 frontent in my build. So I followed the tip on this answer, adding to the wsdl options:

                <extraargs>
                    <extraarg>-fe</extraarg>
                    <extraarg>jaxws21</extraarg>
                </extraargs>

But my build complains:

Could not find jaxws21 frontend within classpath

How do I resolve this?

BTW, my pom.xml includes:

<dependency>
    <groupId>javax.xml.ws</groupId>
    <artifactId>jaxws-api</artifactId>
    <version>2.2.8</version>
</dependency>

Could this be the culprit? If so, which version should I be changing it to?

UPDATE: I tried changing (in that dependency) 2.2.8 to 2.1 but I am still getting this same exact error.

Upvotes: 3

Views: 4945

Answers (1)

Withheld
Withheld

Reputation: 4703

Yup. That was it. The -fe flag is only accepted from CXF 2.3.3 and higher (I was using 2.2.7)

Upvotes: 2

Related Questions