0

アーティファクトをデプロイしようとすると、テストのあるプロジェクトで 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

他の誰かがこの問題に遭遇しましたか?

ありがとう、

ウォルター

4

1 に答える 1

0

互換性のない魔法の値に関連するリンクがいくつかあります - おそらくそのうちの1つがこの場合に適用されます.

基本的に、クラス ファイルは何らかの形で破損しています。

リンク 1 リンク 2

于 2010-12-22T02:33:27.950 に答える