Solution: add in the module-info.java file of the project
requires java.sql;
As shown in the figure
Similar Posts:
- Error message: Java: javactask: source release 8 requires target release 1.8
- [Solved] Workflow Module jar package startup error: liquibase – waiting for changelog lock
- [Run the android emulator] emulator: ERROR: x86 emulation currently requires hardware acceleration!
- [Eclipse]–Error:The superclass “javax.servlet.http.HttpServlet” was not found on the J…
- [Solved] Fatal error: Call to undefined function json_decode()
- [idea]Error:java: invalid source release: 1.8
- Error modulenotfounderror when starting Django: no module named ‘pytz’
- [Solved] javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
- How does IntelliJ idea use Maven Tomcat plug to run web projects
- Error:java: javacTask: source release 8 requires target release 1.8