Pregunta

Cuando intento de implementar artefactos, puedo obtener una ClassFormatError para mis proyectos que tienen pruebas:

[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

¿Alguien más ha encontrado con este problema?

Gracias,

Walter

¿Fue útil?

Solución

Hay un par de enlaces relacionados con valor mágico incompatibles - quizás uno de ellos se aplica en este caso.

En esencia, el archivo de clase está dañado de alguna manera.

Link 1 Link 2

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top