Search code examples
mavenintellij-ideaapache-camelintellij-pluginmojo

RunMojo compatibility problem with camel plugin


I have installed Camel plugin for IntelliJ.

To start debugging, we must create an ad-hoc application

enter image description here

The problem is that it gives me that error running it, when building the war file

org/apache/camel/maven/RunMojo has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

I can't just find where the problem is. I have checked all the java versions defined everywhere and seems fine...

enter image description here

enter image description here

enter image description here

in the POM

enter image description here

enter image description here

so what can be the problem? Mojo version is

enter image description here


Solution

  • The plugin has been compiled with JDK 11 and requires the minimum JDK version 11 to work with.