[jbossseam-issues] [JBoss JIRA] Reopened: (JBSEAM-2828) Tomcat JPA deployment fails with NoClassDefFoundError: javax/faces/component/UIComponent
Pete Muir (JIRA)
jira-events at lists.jboss.org
Fri Apr 4 15:08:22 EDT 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-2828?page=all ]
Pete Muir reopened JBSEAM-2828:
-------------------------------
Was using the ant jboss build
> Tomcat JPA deployment fails with NoClassDefFoundError: javax/faces/component/UIComponent
> ----------------------------------------------------------------------------------------
>
> Key: JBSEAM-2828
> URL: http://jira.jboss.com/jira/browse/JBSEAM-2828
> Project: JBoss Seam
> Issue Type: Bug
> Components: Examples
> Affects Versions: 2.0.2.CR1
> Environment: tomcat 6.0.16
> Reporter: Jay Balunas
> Fix For: 2.0.2.CR2
>
>
> Following instructions for JBoss embedded on tomcat, and the readme.txt file for the JPA example I get the following exception during startup/deployment. It looks like the jsf jars are not packaged.
> SEVERE: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
> java.lang.RuntimeException: Could not create Component: org.jboss.seam.faces.renderer
> at org.jboss.seam.init.Initialization.addComponent(Initialization.java:976)
> at org.jboss.seam.init.Initialization.installComponents(Initialization.java:898)
> at org.jboss.seam.init.Initialization.init(Initialization.java:576)
> at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
> at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
> at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
> at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> at org.apache.catalina.core.StandardService.start(StandardService.java:516)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: java.lang.NoClassDefFoundError: javax/faces/component/UIComponent
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
> at java.lang.Class.privateGetPublicMethods(Class.java:2519)
> at java.lang.Class.getMethods(Class.java:1406)
> at org.jboss.seam.Component.hasAnnotation(Component.java:1067)
> at org.jboss.seam.Component.<init>(Component.java:229)
> at org.jboss.seam.Component.<init>(Component.java:217)
> at org.jboss.seam.init.Initialization.addComponent(Initialization.java:961)
> ... 27 more
> Apr 2, 2008 3:49:07 PM org.apache.catalina.core.ApplicationContext log
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list