Sunday, August 30, 2015

Arquillian exceptions: Caused by: java.lang.IllegalArgumentException: DeployableContainer must be specified


>PROBLEM

  Caused by: java.lang.IllegalArgumentException: DeployableContainer must be specified
 
  or
 
  org.jboss.arquillian.container.test.impl.client.deployment.ValidationException: DeploymentScenario contains a target (_DEFAULT_) not matching any defined Container in the registry.
  Please include at least 1 Deployable Container on your Classpath.
  add a container adapter to the classpath.


>SOLUTION

Go to http://arquillian.org/guides/getting_started/ at "Add a Container Adapter" topic.


No comments:

Post a Comment

eclipse: java: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" or Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder

  >PROBLEM Using Eclipse, you try to run a simple logging test using "org.slf4j.Logger" like the sample below: package Test; im...