ClassFormatError - Surefire? - PullRequest
       33

ClassFormatError - Surefire?

0 голосов
/ 22 декабря 2010

Когда я пытаюсь развернуть артефакты, я получаю ClassFormatError для моих проектов, в которых есть тесты:

[INFO] --- maven-surefire-plugin:2.5:test (default-test) @ ssh-exec ---
[INFO] Concurrency config is {threadCount=10, parallel=methods, configurableParallelComputerPresent=false}
[INFO] Surefire report directory: /home/walterjwhite/storage/projects/software/active/stable/task/impl/ssh-exec/target/surefire-reports
org.apache.maven.surefire.booter.SurefireExecutionException: Incompatible magic value 4022320623 in class file test-classes/com/walterjwhite/task/impl/ssh/exec/RemoteCommandExecutorTest; nested exception is java.lang.ClassFormatError: Incompatible magic value 4022320623 in class file test-classes/com/walterjwhite/task/impl/ssh/exec/RemoteCommandExecutorTest
java.lang.ClassFormatError: Incompatible magic value 4022320623 in class file test-classes/com/walterjwhite/task/impl/ssh/exec/RemoteCommandExecutorTest

Кто-нибудь еще сталкивался с этой проблемой?

Спасибо,

Walter

1 Ответ

0 голосов
/ 22 декабря 2010

Есть несколько ссылок, связанных с несовместимой магической ценностью - возможно, одна из них применима в этом случае.

По сути, файл класса каким-то образом поврежден.

Ссылка 1 Ссылка 2

...