[jboss-user] [JBoss Seam] - Blog example in 2.0.0CR2 fails under Tomcat

RobJellinghaus do-not-reply at jboss.com
Tue Oct 30 01:47:45 EDT 2007


I have Java 1.6.0_03.  I can build Seam 2.0.0CR2 without difficulty (Maven 2 fires right up and seems to pull everything).  I can then "cd examples/blog" and "ant tomcat.deploy".  I take jboss-seam-blog.war from the place it puts it, and drop it into my actual Tomcat 5.5.12 webapps directory, and launch Tomcat.

And boom:

  | [main                 ] 2007-10-29 22:38:37,515  INFO         HostConfig:783 - Deploying web application archive jboss-seam-blog.war
  | [main                 ] 2007-10-29 22:38:37,968 ERROR [/jboss-seam-blog]:3643 - Error configuring application listener of class com.sun.faces.config.ConfigureListener
  | java.lang.NoClassDefFoundError: javax/el/CompositeELResolver
  |         at java.lang.Class.getDeclaredConstructors0(Native Method)
  |         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
  |         at java.lang.Class.getConstructor0(Class.java:2699)
  |         at java.lang.Class.newInstance0(Class.java:326)
  |         at java.lang.Class.newInstance(Class.java:308)
  |         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3641)
  |         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4127)
  |         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  |         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  |         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  |         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
  |         at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
  |         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
  |         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
  |         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
  |         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
  |         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
  |         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
  |         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
  |         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
  |         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
  |         at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
  |         at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
  |         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:597)
  |         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
  |         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
  | [main                 ] 2007-10-29 22:38:38,015 ERROR [/jboss-seam-blog]:3650 - Skipped installing a
  | pplication listeners due to previous error(s)
  | [main                 ] 2007-10-29 22:38:38,015 ERROR    StandardContext:4128 - Error listenerStart
  | [main                 ] 2007-10-29 22:38:38,015 ERROR    StandardContext:4153 - Context [/jboss-seam
  | -blog] startup failed due to previous errors
  | 
  |   | 
  |   | According to good old FindClass, the missing class is in el-api.jar and jsp-api.jar, neither of which are built into jboss-seam-blog.war.  So it makes perfect sense that it can't be found.
  |   | 
  |   | Are all the examples being regressed under Tomcat?
  |   | 
  |   | I'll now look into how to hack the build to get those jar files into the Tomcat war.  One thing about the new centralized build, it makes it harder to tweak the examples :-\
  |   | 
  |   | Will file a JIRA momentarily.
  |   | Cheers,
  |   | Rob

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100075#4100075

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100075



More information about the jboss-user mailing list