Using Intellij IDEA 2020.3.2 (Ultimate), I followed the instructions given for Intellij IDEA IDE on a fresh test project, using the javac8-oo-plugin-0.5.jar. I copy-pasted the example into a fresh class Test.java.
When I try compiling (using Java 15.0.1), the following exception appears:
java: java.lang.ClassCastException: class com.sun.proxy.$Proxy21 cannot be cast to class com.sun.tools.javac.processing.JavacProcessingEnvironment (com.sun.proxy.$Proxy21 is in unnamed module of loader java.net.URLClassLoader @2ff4acd0; com.sun.tools.javac.processing.JavacProcessingEnvironment is in module jdk.compiler of loader 'app')
Using Intellij IDEA 2020.3.2 (Ultimate), I followed the instructions given for Intellij IDEA IDE on a fresh test project, using the
javac8-oo-plugin-0.5.jar
. I copy-pasted the example into a fresh classTest.java
.When I try compiling (using Java 15.0.1), the following exception appears:
What may be gone wrong?