Re: Maven jdk Error

2020-05-15 Thread Thorsten Heit
Hi, > Here is my output when I deployed (...) > --- > T E S T S > --- (...) > Caused by: java.lang.UnsupportedClassVersionError: Preview features are not > enabled for Test (class file version

Re: Maven jdk Error

2020-05-15 Thread Karl Heinz Marbaise
Hi, sorry my first message I pressed the button wrongly. Can you please upgrade the surefire version cause you are using a very old one... Also if you want to go JDK 14 I recommend to upgrade other plugins as well. Kind regards Karl Heinz Marbaise On 14.05.20 22:43, Oguz wrote: Hi, I got

Re: Maven jdk Error

2020-05-15 Thread Karl Heinz Marbaise
On 14.05.20 22:43, Oguz wrote: Hi, I got this error when I changed jdk to 14 (PreviewFailed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project Cookies: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test

Maven jdk Error

2020-05-14 Thread Oguz
Hi, I got this error when I changed jdk to 14 (PreviewFailed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project Cookies: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The forked VM terminated