Created
August 30, 2011 15:15
-
-
Save ge0ffrey/1181137 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Using arquillian with tomcat6 embedded with this @Deployment | |
@Deployment | |
public static WebArchive createDeployment() { | |
return ShrinkWrap.create(ExplodedImporter.class, "guvnor-webapp-5.3.0-SNAPSHOT.war") | |
.importDirectory(new File("target/guvnor-webapp-5.3.0-SNAPSHOT/")) | |
.as(WebArchive.class); | |
} | |
results in | |
SEVERE: Exception sending context initialized event to listener instance of class org.jboss.weld.environment.servlet.Listener | |
org.jboss.weld.exceptions.DeploymentException: | |
WELD-001416 Enabled interceptor class [ | |
<class>org.jboss.seam.transaction.TransactionInterceptor</class> | |
in jar:file:/home/gdesmet/.m2/repository/org/jboss/seam/security/seam-security/3.1.0.Beta2/seam-security-3.1.0.Beta2.jar!/META-INF/beans.xml@8, | |
<class>org.jboss.seam.transaction.TransactionInterceptor</class> | |
in jar:file:/tmp/tomcat-embedded-6/work/arquillian-tomcat-embedded-6/localhost/guvnor-webapp-5.3.0-SNAPSHOT/WEB-INF/lib/seam-security-3.1.0.Beta2.jar!/META-INF/beans.xml@8 | |
] specified twice | |
at org.jboss.weld.manager.Enabled.createMetadataMap(Enabled.java:147) | |
The seam-security-3.1.0.Beta2.jar from /home/gdesmet/.m2/repository shouldn't be in the tomcat6 deployment classpath. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment