[arquillian-issues] [JBoss JIRA] Issue Comment Edited: (ARQ-395) Create a better exception message when no DeployableContainer is found in ConainerRegistry

rop rop (JIRA) jira-events at lists.jboss.org
Mon May 2 07:49:18 EDT 2011


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

rop rop edited comment on ARQ-395 at 5/2/11 7:47 AM:
-----------------------------------------------------

Hi,

I also get this error-msg: 
"DeploymentScenario contains targets not maching any defined Container in the registry".

@Aslak --- re. "no container integration module on classpath"...

I have this in my pom-file:

      <dependency>
        <groupId>org.jboss.arquillian.container</groupId>
        <artifactId>arquillian-jbossas-embedded-6</artifactId>
        <version>1.0.0.Alpha5</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.jboss.jbossas</groupId>
        <artifactId>jboss-as-depchain</artifactId>
        <version>6.0.0.Final</version>
        <type>pom</type>
      </dependency>

Isnt that enough?  Anything else I need to do to launch JBoss from Arquillian?
(I do not have any @TargetsContainer annotation in my code)


      was (Author: rop):
    Hi,

I also get this error-msg: 
"DeploymentScenario contains targets not maching any defined Container in the registry".

@Aslak --- re. "no container integration module on classpath"...

I have this in my pom-file:

      <dependency>
        <groupId>org.jboss.arquillian.container</groupId>
        <artifactId>arquillian-jbossas-embedded-6</artifactId>
        <version>1.0.0.Alpha5</version>
        <scope>test</scope>
      </dependency>

Isnt that enough?  Anything else I need to do to launch JBoss from Arquillian?
(I do not have any @TargetsContainer annotation in my code)

  
> Create a better exception message when no DeployableContainer is found in ConainerRegistry
> ------------------------------------------------------------------------------------------
>
>                 Key: ARQ-395
>                 URL: https://issues.jboss.org/browse/ARQ-395
>             Project: Arquillian
>          Issue Type: Feature Request
>          Components: Base Implementation
>    Affects Versions: 1.0.0.Alpha5
>            Reporter: Aslak Knutsen
>             Fix For: 1.0.0.Beta1
>
>
> org.jboss.arquillian.impl.client.deployment.ValidationException: DeploymentScenario contains targets not maching any defined Container in the registry. _DEFAULT_
> We can validate this Suite level, before @BeforeClass is invoked to see if the ContainerRegistry is empty.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list