I am a new programmer to a maven web project, and m2e in eclipse gives an error that others tell me to ignore but I would like to fix. A clean and rebuild in eclipse marks the <execution>
tag as an error, and hovering over it shows the following:
Could not process schema:
projectXsdOne.xsd (org.codehaus.mojo:jaxb2-maven-plugin:1.2:xjc:JAXBStringifiedGeneration:generate-sources)
org.apache.maven.plugin.MojoExecutionException: Could not process schema:
projectXsdOne.xsd
at org.codehaus.mojo.jaxb2.XjcMojo.execute(XjcMojo.java:313)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:331)
at org.eclipse.m2e.core.internal.embedder.MavenImpl$11.call(MavenImpl.java:1362)
There was one post about a very similar error that the poster originally fixed by adding <xmlSchema>
and <wsdl>
tags of false and true, respectively, to the <configuration>
portion of the <execution>
tag, but that didn't eliminate my error. The web application does seem to run, but I hate having an error "on the boards" and just ignoring it. Does anyone know what else I might try to fix it?
I'm running eclipse photon, m2e 1.9.0 (configured to run "embedded"), java JDK 1.8.0_51, Windows 10.