1. Используйте java.version в pom.xml
Код: Выделить всё
11
Код: Выделить всё
com.sun.activation
javax.activation
javax.xml.bind
jaxb-api
jakarta.xml.bind
jakarta.xml.bind-api
2.3.2
org.glassfish.jaxb
jaxb-runtime
jakarta.xml.ws
jakarta.xml.ws-api
2.3.2
com.sun.xml.ws
jaxws-rt
2.3.2
javax.annotation
javax.annotation-api
Код: Выделить всё
org.apache.maven.plugins
maven-compiler-plugin
3.8.0
11
org.apache.maven.plugins
maven-surefire-plugin
2.22.0
org.apache.maven.plugins
maven-failsafe-plugin
2.22.0
Код: Выделить всё
compiler message file broken:key=compiler.misc.msg.bugarguments=11.0.4-redhat,{1},{2},{3},{4},{5},{6},{7}
java.lang.StackOverflowError
atjdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:652)
atjdk.compiler/com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:3573)
atjdk.compiler/com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2114)
atjdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:655)
atjdk.compiler/com.sun.tools.javac.comp.Attr.visitApply(Attr.java:2006)
atjdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1634)
Подробнее здесь: https://stackoverflow.com/questions/605 ... -to-jdk-11
Мобильная версия