I'm trying to create very simple application with Seam Faces. But I can't do it!
1. Created empty project (with org.jboss.spec.archetypes:jboss-javaee6-webapp-archetype:7.1.1.Beta3 Maven archetype.)
2. Added this lines to pom.xml:
3. Created project package: mvn package
4. Copied created package to Jboss deploy folder
5. Started jboss AS (7.1)
But after that Jboss AS prints out many exeptions and cannot deploy application. Some of these exceptions are:
Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/seam/transaction/SeamTransaction;
Caused by: java.lang.NoClassDefFoundError: com/ocpsoft/pretty/faces/spi/ConfigurationProvider
Caused by: java.lang.ClassNotFoundException: org.jboss.seam.faces.rewrite.RewriteConfiguration from [Module "deployment.jboss-javaee6-webapp.war:main" from Service Module Loader]
Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/seam/security/Identity;
Can You help me start this application in propper way?
Do I have to add more jars to my lib (i.e. Seam Transation)? I thought Maven will do it for me?
You're missing seam transaction.
did you try adding?: