Upgrade to IntelliJ idea 2021.2 and start the project with an error
Unrecognized option: –add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
Solution: delete the. Idea folder and re import the project.
Recommended solution:
Change the red box to your JDK version. Mine is 1.8, so check 8. If this problem cannot be solved, use the above solution again.
Read More:
- error: unrecognized argument in option ‘-mabi=apcs-gnu‘
- Failed to read artifact descriptor for com.google.errorprone:javac:jar:9+181-r4173-1
- cenos Upgrade g++ gcc(cc1plus: error: unrecognized command line option “-std=c++11”)
- Error: unrecognized command line option “-std=c++11”, to solve the problem that ubuntu does not support c++11
- Class file for com.sun.beans.introspect.propertyinfo not found
- Method threw ‘java.lang.NullPointerException‘ exception. Cannot evaluate com.sun.proxy.xxx
- failed to find Build Tools revision 23.0.2 Install Build Tools 23.0.2 and sync project
- About the problem of calling tools library by running Python program under Mac OS X, modulenotfoundererror: no module named ‘tools‘
- Exception in thread “main“ java.lang.ClassCastException: com.sun.proxy.$Proxy8 cannot be cast to XXX
- The problem of MAC switching JDK version and RN Android JDK version leads to compilation failure. Solve it
- Configuration (9) to solve the problem of “setup tools PIP wheel failed with error code 1”, create virtual environments with Python of anaconda
- Solving failure executing javac, but could not parse the error
- javac Task Error source release 1.7 requires target release
- This (code, message, data: null) still exists after importing spring cloud project into Lombok; the data in the project is unrecognized
- Solution to the error code of 0x80040154 in COM / ole call
- Ubuntu: Failed to initialize compiler: object java.lang.Object In compiler mirror not found
- com.docker.osx.hyperkit.linux failed to start Exit code 1
- Windows batch script opens hosts
- Solution: pychar opens internal error