[seam-dev] Faces : viewconfig sample ClassNotFoundException TransactionInterceptor

Adrian Gonzalez adr_gonzalez at yahoo.fr
Thu Oct 27 04:09:58 EDT 2011


Hello,

I'm trying develop branch of faces module, I've added seam-faces-example-viewconfig on JBoss 7.0.2, and got this error on startup.
java.lang.ClassNotFoundException: org.jboss.seam.transaction.TransactionInterceptor


I think https://github.com/seam/faces/blob/develop/examples/viewconfig/pom.xml is missing seam-transaction dependency.

Should I raise a JIRA and  send a pull request ?

Thanks

Full stack :
10:01:09,609 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."seam-faces-example-viewconfig.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."seam-faces-example-viewconfig.war".WeldService: org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.ClassNotFoundException: org.jboss.seam.transaction.TransactionInterceptor from [Module "deployment.seam-faces-example-viewconfig.war:main" from Service Module Loader]; location: <class>org.jboss.seam.transaction.TransactionInterceptor</class> in vfs:/C:/dev/java/jboss-as-web-7.0.2.Final/bin/content/seam-faces-example-viewconfig.war/WEB-INF/lib/seam-security-3.1.0.Beta2.jar/META-INF/beans.xml at 8
at org.jboss.as.weld.services.WeldService.start(WeldService.java:96)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
Caused by: org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.ClassNotFoundException: org.jboss.seam.transaction.TransactionInterceptor from [Module "deployment.seam-faces-example-viewconfig.war:main" from Service Module Loader]; location: <class>org.jboss.seam.transaction.TransactionInterceptor</class> in vfs:/C:/dev/java/jboss-as-web-7.0.2.Final/bin/content/seam-faces-example-viewconfig.war/WEB-INF/lib/seam-security-3.1.0.Beta2.jar/META-INF/beans.xml at 8
at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:75)
at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:56)
at com.google.common.collect.Lists$TransformingRandomAccessList.get(Lists.java:435)
at java.util.AbstractList$Itr.next(AbstractList.java:345) [:1.6.0_24]
at org.jboss.weld.manager.Enabled.createMetadataMap(Enabled.java:143)
at org.jboss.weld.manager.Enabled.<init>(Enabled.java:113)
at org.jboss.weld.manager.Enabled.of(Enabled.java:95)
at org.jboss.weld.bootstrap.BeanDeployment.<init>(BeanDeployment.java:104)
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:185)
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:156)
at org.jboss.weld.bootstrap.WeldBootstrap.startContainer(WeldBootstrap.java:293)
at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:79)
at org.jboss.as.weld.services.WeldService.start(WeldService.java:89)
... 5 more
Caused by: java.lang.ClassNotFoundException: org.jboss.seam.transaction.TransactionInterceptor from [Module "deployment.seam-faces-example-viewconfig.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)
at org.jboss.as.weld.WeldModuleResourceLoader.classForName(WeldModuleResourceLoader.java:68)
at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:71)
... 24 more
________________________________
De : Shane Bryzak <sbryzak at redhat.com>
À : "seam-dev at lists.jboss.org" <seam-dev at lists.jboss.org>
Envoyé le : Mardi 25 Octobre 2011 11h46
Objet : Re: [seam-dev] Seam 3.1 Beta 4 released


Also, I know that Marius has been hard at work on the Seam Spring module, and is planning on releasing an Alpha shortly.  I would really like to include this in the 3.1 release if possible, and if that means a short delay to the final release date then I think it's worth it.

On 25/10/11 19:42, Shane Bryzak wrote: 
Hi all,
>
>We've just finished rolling out Beta4 today, you can find the
      release announcement here:
>
>http://in.relation.to/Bloggers/Seam31Beta4Released
>
>Thanks to the whole team for the hard work, we managed to close
      quite a lot of issues for this release.  We'll be doing another
      beta release to address the remaining issues that are outstanding
      for 3.1.  Module leads, could you please review the open issues
      for your module/s for 3.1 and bump any to the 'Future' that we
      won't be able to address in time.  Likewise, if there are any
      outstanding issues that you think should be included in 3.1 but
      aren't, please set a fix version of 3.1.0.CR1 so that we can
      address it.
>
>Thanks!
>Shane
>
>
>
>_______________________________________________
seam-dev mailing list seam-dev at lists.jboss.org https://lists.jboss.org/mailman/listinfo/seam-dev

_______________________________________________
seam-dev mailing list
seam-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-dev



More information about the seam-dev mailing list