JBAS015893: Encountered invalid class name

三世轮回 提交于 2019-11-30 17:05:49

In my case most of the warnings "JBAS015893: Encountered invalid class name..." went away after I have set the correct scope for all dependencies regarding arquillian and shrinkwrap to "test", e.g.

<dependency>
 <groupId>org.jboss.shrinkwrap.descriptors</groupId>
 <artifactId>shrinkwrap-descriptors-spi</artifactId>
 <scope>test</scope>
</dependency>

Looking at the edit by OP,

add these dependencies to the pom:

<dependency>       
    <groupId>org.jboss.shrinkwrap</groupId>
    <artifactId>shrinkwrap-api</artifactId>
</dependency>
<dependency>
    <groupId>org.jboss.shrinkwrap</groupId>
    <artifactId>shrinkwrap-impl-base</artifactId>
    <scope>test</scope>
</dependency>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!