JBAS015893: Encountered invalid class name

后端 未结 2 1138
遥遥无期
遥遥无期 2021-01-03 22:08

I\'m currently cleaning up my Project and related Errors / Warnings a bit. Everytime i deploy my Maven Project to the JBoss AS 7.1.1.Final I get a lot of Warnings.

I

相关标签:
2条回答
  • 2021-01-03 22:50

    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>
    
    0 讨论(0)
  • 2021-01-03 23:05

    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>
    
    0 讨论(0)
提交回复
热议问题