[arquillian-issues] [JBoss JIRA] Commented: (ARQ-117) Better description from DynamicServiceLoader

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Sat Apr 24 07:52:10 EDT 2010


    [ https://jira.jboss.org/jira/browse/ARQ-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12527398#action_12527398 ] 

Jesper Pedersen commented on ARQ-117:
-------------------------------------

Turned out that I had the same Arquillian service files (META-INF/services) in two JAR archives.

DynamicServiceLoader should check if the class definitions are the same or not.

> Better description from DynamicServiceLoader
> --------------------------------------------
>
>                 Key: ARQ-117
>                 URL: https://jira.jboss.org/jira/browse/ARQ-117
>             Project: Arquillian
>          Issue Type: Feature Request
>          Components: Deployable Containers SPI
>    Affects Versions: 1.0.0.Alpha1
>            Reporter: Jesper Pedersen
>
> Currently DynamicServiceLoader does:
> Testcase: initializationError took 0.002 sec
>         Caused an ERROR
> Mutiple implementations found for: org.jboss.arquillian.spi.DeployableContainer, check classpath
> java.lang.RuntimeException: Mutiple implementations found for: org.jboss.arquillian.spi.DeployableContainer, check classpath
>         at org.jboss.arquillian.impl.DynamicServiceLoader.onlyOne(DynamicServiceLoader.java:55)
>         at org.jboss.arquillian.impl.DeployableTestBuilder.build(DeployableTestBuilder.java:58)
>         at org.jboss.arquillian.junit.Arquillian.<init>(Arquillian.java:52)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> It would be nice if it would say which implementations are active on the classpath.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list