質問

アーティファクトを展開しようとすると、テストを受けているプロジェクトのクラスフォームタラーを取得します。

[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

他の誰かがこの問題に出くわしましたか?

ありがとう、

ウォルター

役に立ちましたか?

解決

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

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

リンク1 リンク2

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top