Thanks JB,
I added dependencies, here is the plugin the * indicates the line where the
error is displayed.
org.apache.cxf
cxf-codegen-plugin
3.2.4
javax.xml.bind
jaxb-api
2.3.1
org.apache.cxf
cxf-tools-common
codegen-plugin:3.2.4:wsdl2java failed: A required
> class
> >> was missing while executing org.apache.cxf:cxf-codegen-
> >> plugin:3.2.4:wsdl2java:
> >> javax/xml/bind/annotation/adapters/HexBinaryAdapter
> >> --------------------- realm =
> >> plugin>org.apa
-- realm =
>> plugin>org.apache.cxf:cxf-codegen-
>> plugin:3.2.4 strategy =
>> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] =
>> file:/C:/esb/.m2/repository/org/apache/cxf/cxf-codegen-plugin/3.2.4/cxf-codegen-
>> plugin-3.2.4.jar urls
sdl2java:
> javax/xml/bind/annotation/adapters/HexBinaryAdapter
> - realm =
> plugin>org.apache.cxf:cxf-codegen-
> plugin:3.2.4 strategy =
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] =
> file:/C:/esb/.m2/repository/org/apache/cxf/c
ile:/C:/esb/.m2/repository/org/apache/cxf/cxf-codegen-plugin/3.2.4/cxf-codegen-
plugin-3.2.4.jar urls[1] =
file:/C:/esb/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
urls[2] = file:/C:/esb/.m2/repository/org/codehaus/plexus/plexus-
archiver/1.2/plexus-archiver-1.2.
Hi Mike,
The problem is about the JAXB version you are using.
Do you define jaxb-api in your pom dependencies ?
Regards
JB
> Le 31 mai 2021 à 06:54, Mike Oliver a
> écrit :
>
> Hi,
>
> I am trying to add the cxf-codegen-plugin
>
>
> org.apache.cxf
>
Hi,
I am trying to add the cxf-codegen-plugin
org.apache.cxf
cxf-codegen-plugin
3.2.4
generate-sources
generate-sources
src/main/resources/wsdl/BookService.wsdl
wsdl2java