I have been attempting to create a new Seam app based on the code generated by Seam. I then modified the code and pages, fleshed out the first page (a user login) and that part was working. Then when I tried to build the second page (the query/view results page), things when wrong:
| 09:51:35,531 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml | 09:51:35,593 INFO [FacesConfigurator] Reading config jar:file:/C:/Dev/SeamDevelopment/jbossServer/server/default/lib/ui.jar!/META-INF/faces-config.xml | 09:51:37,359 INFO [FacesConfigurator] Reading config jar:file:/C:/Dev/SeamDevelopment/jbossServer/server/default/tmp/deploy/tmp8172DPSLicenseInquiry.ear-contents/jboss-seam.jar!/META-INF/faces-config.xml | 09:51:37,375 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml | 09:51:37,421 ERROR [[/DPSLicenseInquiryWeb]] Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener | java.lang.NoClassDefFoundError: javax/el/ELException | at org.apache.myfaces.application.ApplicationFactoryImpl.<init>(ApplicationFactoryImpl.java:42) | followed by a: | 09:51:37,421 ERROR [StandardContext] Error listenerStart | This "error listener start" is something I also get trying to create a basic JSF application and getting it to run on JBoss as well. I'm sure its something to do w/a missing or misplaced Jar but I cannot find any error messages online that help narrow it down. Anyone have any ideas? My web.xml file: | <?xml version="1.0" ?> | <web-app xmlns="http://java.sun.com/xml/ns/j2ee" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" | version="2.4"> | | <listener> | <listener-class>org.jboss.seam.servlet.SeamListener</listener-class> | </listener> | | <listener> | <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> | </listener> | | <context-param> | <param-name>javax.faces.STATE_SAVING_METHOD</param-name> | <param-value>client</param-value> | </context-param> | | <context-param> | <param-name>facelets.DEVELOPMENT</param-name> | <param-value>true</param-value> | </context-param> | | <context-param> | <param-name>javax.faces.DEFAULT_SUFFIX</param-name> | <param-value>.xhtml</param-value> | </context-param> | | | <filter> | <filter-name>Seam Exception Filter</filter-name> | <filter-class>org.jboss.seam.servlet.SeamExceptionFilter</filter-class> | </filter> | | <filter> | <filter-name>Seam Redirect Filter</filter-name> | <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class> | </filter> | | <filter-mapping> | <filter-name>Seam Exception Filter</filter-name> | <url-pattern>/*</url-pattern> | </filter-mapping> | | <filter-mapping> | <filter-name>Seam Redirect Filter</filter-name> | <url-pattern>*.seam</url-pattern> | </filter-mapping> | | <servlet> | <servlet-name>Faces Servlet</servlet-name> | <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> | <load-on-startup>1</load-on-startup> | </servlet> | | <servlet-mapping> | <servlet-name>Faces Servlet</servlet-name> | <url-pattern>*.seam</url-pattern> | </servlet-mapping> | </web-app> | My faces-config.xml: | <?xml version='1.0' encoding='UTF-8'?> | | <!DOCTYPE faces-config PUBLIC | "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" | "http://java.sun.com/dtd/web-facesconfig_1_1.dtd"> | | <faces-config> | | <application> | <view-handler>com.sun.facelets.FaceletViewHandler</view-handler> | </application> | | <lifecycle> | <phase-listener>org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener</phase-listener> | </lifecycle> | | <application> | <message-bundle>messages</message-bundle> | <locale-config> | <default-locale>en</default-locale> | <supported-locale>en</supported-locale> | </locale-config> | </application> | | <navigation-rule> | <navigation-case> | <from-outcome>userLogin</from-outcome> | <to-view-id>/userLogin.xhtml</to-view-id> | <redirect /> | </navigation-case> | </navigation-rule> | </faces-config> | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983478#3983478 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983478 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
