4 Replies Latest reply on Apr 27, 2009 3:21 AM by Italo Vecchi

    Bean deployment question

    Italo Vecchi Newbie

      I am using a Bean in a JSF page. I have registered the bean in .../jboss-5.0.0.GA\server\default\deploy\jbpm\jsf-console.war\WEB-INF\faces-config.xml
      ...

      </application>
      <managed-bean>
       <managed-bean-name>InstallBean</managed-bean-name>
       <managed-bean-class>com.cart.jbpm.InstallBean</managed-bean-class>
       <managed-bean-scope>request</managed-bean-scope>
       </managed-bean>
      </faces-config>


      After deployment from eclipse to /jbpm-console/upload I get that the app cannot find my bean.

      javax.servlet.ServletException: Unable to create managed bean InstallBean. The following problems were found:
       - Bean or property class com.cart.jbpm.InstallBean for managed bean InstallBean cannot be found.
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96
      


      I have also copied my InstallBean.class to ...\jboss-5.0.0.GA\server\default\deploy\jbpm\jsf-console.war\WEB-INF\classes\com\cart\jbpm
      , but it's still not working.

      My obvious question is: where should I put my bean class?

      Thanks in advance for your attention.

      t