Arquillian Error: ArchiveExportException

I ran into a baffling error the other day while working with Arquillian. I added Arquillian to a simple project requiring only the Java SE container for some “lite” CDI injection. However, when I went to run the unit tests, they failed:   [code lang=’java’] org.jboss.shrinkwrap.api.exporter.ArchiveExportException: File could not be created: target/test.jar at org.jboss.shrinkwrap.impl.base.exporter.AbstractStreamExporterImpl.getOutputStreamToFile( at …

Arquillian Error: ArchiveExportException Read More »