Exception in thread 「main「 java.lang.UnsupportedClassVersionError: com/example/demo/SpringbootMybati

這個問題是由bai較高版本的JDK編譯的java class文件試圖在較低版du本的JVM上運行zhi產生的錯誤。 在項目的屬性裏設置jdk版本,方法是右擊項目-->properties-->java compiler --> Enable project specific settings -->將compiler compliance level設置爲自己的JDK版本。 全部更改爲自己的JDK
相關文章
相關標籤/搜索