-
Hi. Trying to migrate my java web maven project to java 21. After change java version I catch this on maven test step:
I know about this kind of exceptions, but I don't know place in Netbeans where i can set |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I was found how to fix it: <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<argLine>
--add-exports java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED
</argLine>
</configuration>
</plugin> |
Beta Was this translation helpful? Give feedback.
I was found how to fix it: