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

前端 未结 6 1570
鱼传尺愫
鱼传尺愫 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 12:10

    I had similar problem. I just tried to write one class on my office PC and transfer to our client server to test something< because there were not JDK on that machine. I used the same version of java on both machines but after a transfer I got that Exception. I tried to use archiver before transferring and it helped.

提交回复
热议问题