I've already done the research to know that this error means "I compiled with a newer version of java than I'm running the code on". The difference here is that this code that's giving me the error is generated by the jaxws-maven-plugin plugin. I can't figure out how to set the compile target/source on that plugin so I don't know how to resolve this issue. How do I set the target version for this plugin?
The usage page seems to indicate that the JAX-WS plugin uses the standard source
and target
settings from maven-compiler-plugin
.