Class file has wrong version 52.0, should be 50.0

前端 未结 6 2458
有刺的猬
有刺的猬 2020-11-29 10:21

I\'m trying to compile my project in IntelliJ idea. I\'m using a class in an external jar file and on compilation receiving the above error.

I understand that it\'s

6条回答
  •  误落风尘
    2020-11-29 10:43

    If you are using javac to compile, and you get this error, then remove all the .class files

    rm *.class     # On Unix-based systems
    

    and recompile.

    javac fileName.java
    

提交回复
热议问题