Class file has wrong version 52.0, should be 50.0

前端 未结 6 2461
有刺的猬
有刺的猬 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:27

    i faced the same problem "Class file has wrong version 52.0, should be 50.0" when running java through ant... all i did was add fork="true" wherever i used the javac task and it worked...

提交回复
热议问题