java.lang.ClassFormatError: Extra bytes at end of class file

前端 未结 6 1578
鱼传尺愫
鱼传尺愫 2021-01-04 11:23

I\'m getting an odd error when I try and run this program. The class compiles fine into multiple .class files and I compiled it last week (before editing it) just fine. But

6条回答
  •  被撕碎了的回忆
    2021-01-04 11:47

    Try

    İntellij idea -> Settings - > Build Execution,Deployment -> Settings -> Compiler - Java Compiler -> default is eclipse change it Javac (Use Compiler)

    Build Tools -> Maven -> İmporting and uncheck Detect compiler automatically.

    Good Luck.

提交回复
热议问题