  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - sjsas and Seam. method not found exception | - sjsas and Seam. method not found exception 2007-08-12 - By cisrudlow
Back I write simple application and I have problem, that I can't resolve. It always show me error that, method test.TestLocal_15902127.test() hasn't been found. There is Seam.propertis in web/conf dir in ejb project and there are all business interfaces. Please help. My error:
| javax.el.MethodNotFoundException: /template-client.xhtml @(protected),78 | action="#{test.test}": Method not found: test.TestLocal_15902127.test() | javax.faces.el.MethodNotFoundException: javax.el.MethodNotFoundException: | /template-client.xhtml @(protected),78 action="#{test.test}": Method not found: | test.TestLocal_15902127.test() | at | javax.faces.component.MethodBindingMethodExpressionAdapter.invoke (MethodBindingMethodExpressionAdapter.java:81) | at | com.sun.faces.application.ActionListenerImpl.processAction (ActionListenerImpl.java:96) | at javax.faces.component.UICommand.broadcast(UICommand.java:383) | at | org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java :180) | at | org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java :158) | at | org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot .java:329) | at | com.sun.faces.lifecycle.InvokeApplicationPhase.execute (InvokeApplicationPhase.java:97) | at | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244) | |
web.xml
| <?xml version="1.0" encoding="UTF-8 (See http://UTF-8.ora-code.com)"?> | <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> | <context-param> | <param-name>com.sun.faces.verifyObjects</param-name> | <param-value>true</param-value> | </context-param> | <context-param> | <param-name>com.sun.faces.validateXml</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> | <context-param> | <param-name>facelets.DEVELOPMENT</param-name> | <param-value>false</param-value> | </context-param> | <context-param> | <param-name>facelets.SKIP_COMMENTS</param-name> | <param-value>true</param-value> | </context-param> | <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>*.xhtml</url-pattern> | </servlet-mapping> | <session-config> | <session-timeout> | 30 | </session-timeout> | </session-config> | <welcome-file-list> | <welcome-file> | index.xhtml | </welcome-file> | </welcome-file-list> | <context-param> | <description> | </description> | <param-name>org.jboss.seam.core.init.jndiPattern</param-name> | <param-value>java:comp/env/Tets-ejb/#{ejbName}/local</param-value> | </context-param> | | <listener> | <listener-class>org.jboss.seam.servlet.SeamListener</listener-class> | </listener> | | <ejb-local-ref> | <ejb-ref-name>Tets-ejb/TestBean/local</ejb-ref-name> | <ejb-ref-type>Session</ejb-ref-type> | <local>test.TestLocal</local> | <ejb-link>TestBean</ejb-link> | </ejb-local-ref> | </web-app> | |
| <?xml version='1.0' encoding='UTF-8 (See http://UTF-8.ora-code.com)'?> | <faces-config version="1.2" | xmlns="http://java.sun.com/xml/ns/javaee" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"> | | <application> | <view-handler> | com.sun.facelets.FaceletViewHandler | </view-handler> | </application> | <lifecycle> | <phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener> | </lifecycle> | <application> | <el-resolver> | org.jboss.seam.jsf.SeamELResolver | </el-resolver> | </application> | </faces-config> | ejb-jar.xml
| <?xml version="1.0" encoding="UTF-8 (See http://UTF-8.ora-code.com)"?> | <ejb-jar xmlns = "http://java.sun.com/xml/ns/javaee" version = "3.0" | xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation = | "http://java.sun.com/xml/ns/javaee | http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"> | <interceptors> | <interceptor> | <interceptor-class> | org.jboss.seam.ejb.SeamInterceptor | </interceptor-class> | </interceptor> | </interceptors> | <assembly-descriptor> | <interceptor-binding> | <ejb-name>*</ejb-name> | <interceptor-class> | org.jboss.seam.ejb.SeamInterceptor | </interceptor-class> | </interceptor-binding> | </assembly-descriptor> | </ejb-jar> | |
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4073407#4073407
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4073407 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |