Getting noclassfoundexception : java.sql.SQLException in intellij idea for jdk 11

前端 未结 1 1240
清歌不尽
清歌不尽 2021-01-17 10:46

I am using latest version of Intellij Idea and set jdk as 11. When I execute my project it throws exception noclassfoundexception : java.sql.SQLException.

In java co

相关标签:
1条回答
  • 2021-01-17 11:41

    Try to change command line shortening method to "JAR manifest".

    I had exactly the same issue after upgrading my project from Java 8 to Java 11. It looks like it is IntelliJ IDEA bug.

    Hint for solution taken from here: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000022399-Error-running-a-cucumber-test-case-Caused-by-java-lang-NoClassDefFoundError-java-sql-Time

    0 讨论(0)
提交回复
热议问题