Skip to main content

OK, I have been having the same kind of issue, but I was using Java 8, and kept getting this error, I tried most of the solutions. but it turns out that my maven was still pointing to java 9 even-though I set the global Java version to 8, as soon as I fixed that it all worked.

For anybody who might have this kind of problem, check out How to fix Maven to use default JavaHow to fix Maven to use default Java (archived)

OK, I have been having the same kind of issue, but I was using Java 8, and kept getting this error, I tried most of the solutions. but it turns out that my maven was still pointing to java 9 even-though I set the global Java version to 8, as soon as I fixed that it all worked.

For anybody who might have this kind of problem, check out How to fix Maven to use default Java

OK, I have been having the same kind of issue, but I was using Java 8, and kept getting this error, I tried most of the solutions. but it turns out that my maven was still pointing to java 9 even-though I set the global Java version to 8, as soon as I fixed that it all worked.

For anybody who might have this kind of problem, check out How to fix Maven to use default Java (archived)

added 8 characters in body
Source Link
Samuel Liew
  • 79.5k
  • 112
  • 173
  • 315

OK, iI have been having the same kind of issue, but iI was using javaJava 8, and kept getting this error, iI tried most of the solutions. but it turns out that my maven was still pointing to java 9 even-though iI set the global java asJava version to 8, so as soon as iI fixed that it all worked, for any body.

For anybody who might have this kind of problem, check out (How to fix Maven to use default Java ) https://blog.tompawlak.org/maven-default-java-version-mac-osxHow to fix Maven to use default Java

OK, i have been having the same kind of issue, but i was using java 8, and kept getting this error, i tried most of the solutions. but it turns out that my maven was still pointing to java 9 even-though i set the global java as 8, so as soon as i fixed that it all worked, for any body who might have this kind of problem, check out (How to fix Maven to use default Java ) https://blog.tompawlak.org/maven-default-java-version-mac-osx

OK, I have been having the same kind of issue, but I was using Java 8, and kept getting this error, I tried most of the solutions. but it turns out that my maven was still pointing to java 9 even-though I set the global Java version to 8, as soon as I fixed that it all worked.

For anybody who might have this kind of problem, check out How to fix Maven to use default Java

Source Link
Ipkiss
  • 811
  • 2
  • 17
  • 29

OK, i have been having the same kind of issue, but i was using java 8, and kept getting this error, i tried most of the solutions. but it turns out that my maven was still pointing to java 9 even-though i set the global java as 8, so as soon as i fixed that it all worked, for any body who might have this kind of problem, check out (How to fix Maven to use default Java ) https://blog.tompawlak.org/maven-default-java-version-mac-osx