GeoServer source code compilation does not pass: an exception occurs:
java.lang.RuntimeException: java.lang.NoSuchMethodError: com.sun.tools.javac.util.JavacMessages.add(Lcom/sun/tools/javac/util/JavacMessages$ResourceBundleHelper;)V
As explained in section 8 of the official documentation, because

java.lang.RuntimeException: java.lang.NoSuchMethodError: com.sun.tools.javac.util.JavacMessages.add(Lcom/sun/tools/javac/util/JavacMessages$ResourceBundleHelper;)V

Error Prone
does not support Java 8 version

Similar Posts:
- GeoServer source code offline environment debugging startup error [How to Solve]
- [Solved] Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
- How to Solve @ResponseBody Error: 500 NoSuchMethodError
- [Solved] java.lang.IllegalStateException: Failed to introspect Class xxxx
- [Solved] IDEA Maven Package Error: [ERROR] javac options source files
- JAVA Command Error: A JNI error has occurred, please check your installation and try again [Solved]
- Unable to instantiate application
- [Solved] Android studio preview view Error: java.lang.NoSuchMethodError
- SpringBoot2.6 Use springfox Error: documentationPluginsBootstrapper
- Hive Start Error: Exception in thread “main” java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgumen