2 Replies Latest reply on Mar 7, 2012 1:07 PM by thiago-costa

    Error in weld seam 3.1.0.final

    thiago-costa

      Hi, I have problem with weld 1.1...

      anybody may help me ?

       

      Dependencies:
      
      <dependency>
               <groupId>org.jboss.seam.faces</groupId>
               <artifactId>seam-faces</artifactId>
               <version>3.1.0.Final</version>
            </dependency>
      
            <dependency>
               <groupId>org.jboss.seam.international</groupId>
               <artifactId>seam-international</artifactId>
               <version>3.1.0.Final</version>
            </dependency>
      
            <dependency>
               <groupId>org.jboss.seam.security</groupId>
               <artifactId>seam-security</artifactId>
               <version>3.1.0.Final</version>
            </dependency>
      
            <dependency>
               <groupId>org.jboss.solder</groupId>
               <artifactId>solder-impl</artifactId>
               <version>3.1.0.Final</version>
            </dependency>
      
            <dependency>
               <groupId>org.jboss.seam.persistence</groupId>
               <artifactId>seam-persistence</artifactId>
               <version>3.1.0.Final</version>
            </dependency>
      
            <dependency>
               <groupId>org.jboss.seam.transaction</groupId>
               <artifactId>seam-transaction</artifactId>
               <version>3.1.0.Final</version>
            </dependency>
      

       

       

      But It isn't working fine.

       

      Looks error:

       

      Feb 23, 2012 10:05:54 AM org.apache.catalina.core.StandardContext listenerStart
      SEVERE: Exception sending context initialized event to listener instance of class org.jboss.weld.environment.servlet.Listener
      org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [SeamTransaction] with qualifiers [@DefaultTransaction] at injection point [[field] @Inject @DefaultTransaction private org.jboss.seam.transaction.SimpleTransactionExceptionHandler.tx]
                at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:270)
                at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:106)
                at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:129)
                at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:351)
                at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:336)
                at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:396)
                at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:205)
                at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
                at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
                at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:897)
                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:873)
                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
                at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
                at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1581)
                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                at java.lang.Thread.run(Thread.java:662)
      Feb 23, 2012 10:05:58 AM org.apache.catalina.core.ApplicationContext log
      INFO: ContextListener: contextInitialized()
      Feb 23, 2012 10:05:58 AM org.apache.catalina.core.ApplicationContext log
      INFO: SessionListener: contextInitialized()
      Feb 23, 2012 10:05:58 AM org.apache.catalina.core.ApplicationContext log
      INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@1ddd479')
      

       

       

       

      I'm using tomcat 7.0.25.

       

      I had tried to change weld to weld 1.1.5 but throws other error, It's about sl4j.api.. 

       

      Anybody knows?

       

      Anybody integrate seam 3.1 modules with Tomcat 7.0.25 ?

       

      Help me..

      Thanks a lot guys rsrs..

       

       

      my english is poor