Thanks JB, I added dependencies, here is the plugin the * indicates the line where the error is displayed.
<plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>3.2.4</version> <dependencies> <!-- https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api --> <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>2.3.1</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-tools-common</artifactId> <version>3.2.1</version> </dependency> </dependencies> <executions> <execution>* <id>generate-sources</id> <phase>generate-sources</phase> <configuration> <wsdlOptions> <wsdlOption> <wsdl>src/main/resources/wsdl/OracleAtomicService.wsdl</wsdl> </wsdlOption> </wsdlOptions> </configuration> <goals> <goal>wsdl2java</goal> </goals> </execution> </executions> </plugin> Here is the error at least it has changed. javax/xml/ws/Service (org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java:generate-sources:generate-sources) org.apache.maven.plugin.MojoExecutionException: javax/xml/ws/ Service at org.apache.cxf.maven_plugin.wsdl2java.WSDL2JavaMojo.generate(WSDL2JavaMojo.java:434) at org.apache.cxf.maven_plugin.AbstractCodegenMoho.execute(AbstractCodegenMoho.java:279) at org.apache.cxf.maven_plugin.wsdl2java.WSDL2JavaMojo.execute(WSDL2JavaMojo.java:511) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:332) at org.eclipse.m2e.core.internal.embedder.MavenImpl.lambda$8(MavenImpl.java:1380) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:179) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:114) at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1379) at org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant.build(MojoExecutionBuildParticipant.java:54) at *Mike Oliver** Founder**, Open 4 Business Online* Tel: +1(951)260-0793 | Mobile:**NEW* 639479927462 US Toll free: 1-800-985-4766 **NEW* http://www.o4bo.com Mas marunong akong umunawa ng salitang tagalog kaysa magkapagsalita nito [image: Facebook] <http://www.facebook.com/pages/Open-4-Business-Online/147285608707176> [image: Twitter] <https://twitter.com/O4BO> [image: LinkedIn] <http://ph.linkedin.com/pub/mike-oliver/0/1b9/197> [image: AngelList] <https://angel.co/open-4-business-online/> [image: Blogger] <http://blog.open4businessonline.com/> [image: eBay] <http://www.store.o4bo.com/servlet/StoreFront> [image: YouTube] <http://www.youtube.com/channel/UCruaIEFosh9uvfkQCq7mtKw> [image: Google Plus Page] <https://plus.google.com/113688478700619104336/posts> Contact me: [image: Google Talk] mikeolive...@open4businessonline.com [image: Skype] MikeOliverAZ On Mon, May 31, 2021 at 2:13 PM JB Onofré <j...@nanthrax.net> wrote: > And by the way you need jaxb for the plugin dependencies. > > > Le 31 mai 2021 à 08:12, JB Onofré <j...@nanthrax.net> a écrit : > > > > Camel-jaxb doesn’t bring jaxb artifacts. You have to add jaxb > dependency. > > > >> Le 31 mai 2021 à 07:41, Mike Oliver < > mikeolive...@open4businessonline.com> a écrit : > >> > >> Ok, well thanks, > >> > >> I added... > >> > >> <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-jaxb --> > >> <dependency> > >> <groupId>org.apache.camel</groupId> > >> <artifactId>camel-jaxb</artifactId> > >> <version>3.10.0</version> > >> <scope>test</scope> > >> </dependency> > >> > >> And still get the same error. Will show more depth to it this time. > >> > >> Execution generate-sources of goal > >> org.apache.cxf:cxf-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.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[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.jar urls[3] = > >> > file:/C:/esb/.m2/repository/org/codehaus/plexus/plexus-io/1.0.1/plexus-io-1.0.1.jar > >> urls[4] = file:/C:/esb/.m2/repository/org/apache/ > >> cxf/cxf-core/3.2.4/cxf-core-3.2.4.jar urls[5] = > >> > file:/C:/esb/.m2/repository/com/fasterxml/woodstox/woodstox-core/5.0.3/woodstox-core-5.0.3.jar > >> urls[6] = file:/C:/esb/.m2/ > >> repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar > >> urls[7] = > >> > file:/C:/esb/.m2/repository/org/apache/ws/xmlschema/xmlschema-core/2.2.3/xmlschema- > >> core-2.2.3.jar urls[8] = > >> > file:/C:/esb/.m2/repository/org/apache/cxf/cxf-tools-common/3.2.4/cxf-tools-common-3.2.4.jar > >> urls[9] = file:/C:/esb/.m2/repository/org/apache/velocity/ > >> velocity-engine-core/2.0/velocity-engine-core-2.0.jar > >> > >> > >> > >> *Mike Oliver** Founder**, Open 4 Business Online* > >> Tel: +1(951)260-0793 | Mobile:**NEW* 639479927462 > >> US Toll free: 1-800-985-4766 **NEW* > >> http://www.o4bo.com > >> Mas marunong akong umunawa ng salitang tagalog kaysa magkapagsalita nito > >> [image: Facebook] > >> <http://www.facebook.com/pages/Open-4-Business-Online/147285608707176> > [image: > >> Twitter] <https://twitter.com/O4BO> [image: LinkedIn] > >> <http://ph.linkedin.com/pub/mike-oliver/0/1b9/197> [image: AngelList] > >> <https://angel.co/open-4-business-online/> [image: Blogger] > >> <http://blog.open4businessonline.com/> [image: eBay] > >> <http://www.store.o4bo.com/servlet/StoreFront> [image: YouTube] > >> <http://www.youtube.com/channel/UCruaIEFosh9uvfkQCq7mtKw> [image: > Google > >> Plus Page] <https://plus.google.com/113688478700619104336/posts> > >> Contact me: [image: Google Talk] mikeolive...@open4businessonline.com > [image: > >> Skype] MikeOliverAZ > >> > >> > >> > >>> On Mon, May 31, 2021 at 1:18 PM Jean-Baptiste Onofre <j...@nanthrax.net> > >>> wrote: > >>> > >>> 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 < > >>> mikeolive...@open4businessonline.com> a écrit : > >>>> > >>>> Hi, > >>>> > >>>> I am trying to add the cxf-codegen-plugin > >>>> > >>>> <plugin> > >>>> <groupId>org.apache.cxf</groupId> > >>>> <artifactId>cxf-codegen-plugin</artifactId> > >>>> <version>3.2.4</version> > >>>> <executions> > >>>> <execution> > >>>> <id>generate-sources</id> > >>>> <phase>generate-sources</phase> > >>>> <configuration> > >>>> <wsdlOptions> > >>>> <wsdlOption> > >>>> <wsdl>src/main/resources/wsdl/BookService.wsdl</wsdl> > >>>> </wsdlOption> > >>>> </wsdlOptions> > >>>> </configuration> > >>>> <goals> > >>>> <goal>wsdl2java</goal> > >>>> </goals> > >>>> </execution> > >>>> </executions> > >>>> </plugin> > >>>> > >>>> > >>>> However when I do I get this error message. > >>>> > >>>> Execution generate-sources of goal > >>>> org.apache.cxf:cxf-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.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... > >>>> > >>>> my cxf dependency is > >>>> > >>>> <dependency> > >>>> <groupId>org.apache.camel</groupId> > >>>> <artifactId>camel-cxf</artifactId> > >>>> <version>2.21.0</version> > >>>> </dependency> > >>>> > >>>> Given I believe this is a version missmatch, which one should I > change? > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> *Mike Oliver** Founder**, Open 4 Business Online* > >>>> Tel: +1(951)260-0793 | Mobile:**NEW* 639479927462 > >>>> US Toll free: 1-800-985-4766 **NEW* > >>>> http://www.o4bo.com > >>>> Mas marunong akong umunawa ng salitang tagalog kaysa magkapagsalita > nito > >>>> [image: Facebook] > >>>> <http://www.facebook.com/pages/Open-4-Business-Online/147285608707176 > > > >>> [image: > >>>> Twitter] <https://twitter.com/O4BO> [image: LinkedIn] > >>>> <http://ph.linkedin.com/pub/mike-oliver/0/1b9/197> [image: AngelList] > >>>> <https://angel.co/open-4-business-online/> [image: Blogger] > >>>> <http://blog.open4businessonline.com/> [image: eBay] > >>>> <http://www.store.o4bo.com/servlet/StoreFront> [image: YouTube] > >>>> <http://www.youtube.com/channel/UCruaIEFosh9uvfkQCq7mtKw> [image: > Google > >>>> Plus Page] <https://plus.google.com/113688478700619104336/posts> > >>>> Contact me: [image: Google Talk] mikeolive...@open4businessonline.com > >>> [image: > >>>> Skype] MikeOliverAZ > >>> > >>> > >