1

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?

Daniel Kaplan
  • 62,768
  • 50
  • 234
  • 356

1 Answers1

1

The usage page seems to indicate that the JAX-WS plugin uses the standard source and target settings from maven-compiler-plugin.

chrylis -cautiouslyoptimistic-
  • 75,269
  • 21
  • 115
  • 152
  • This didn't solve *my* problem but it will probably help anyone else searching. I had a PEBCAK issue. My IDE was set to compile to 1.7 without my intention. – Daniel Kaplan Aug 30 '13 at 18:38