Could not find jaxws21 frontend within classpath

跟風遠走 提交于 2019-12-13 14:25:36

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/14141902/could-not-find-jaxws21-frontend-within-classpath

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!