Question

Lorsque je tente de déployer des artefacts, je reçois un ClassFormatError pour mes projets qui n'ont des tests:

[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

Quelqu'un d'autre rencontré ce problème?

Merci,

Walter

Était-ce utile?

La solution

Il y a quelques liens liés à la valeur magique incompatible - peut-être l'un d'entre eux applique dans ce cas.

Pour l'essentiel le fichier de classe est corrompu d'une certaine façon.

Link 1 Link 2

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top