0 Replies Latest reply on Jun 27, 2006 4:56 AM by olijaun

    NoSuchMethodException on EJB deployment

      Hello

      I get a NoSuchMethodException when I try to deploy my EJB:

      [ServiceController] Problem creating service jboss.j2ee:jndiName=ejb/FileDistributionManagerHome,service=EJB
      java.lang.NoSuchMethodException: org.jboss.ejb.StatelessSessionContainer.importFileHome(java.io.File, [Ljava.lang.String;, java.lang.String, java.lang.String, [Ljava.lang.String;, [Lcom.acsinc.arcos.fxm.business.iface.dto.Dependency;)
      at java.lang.Class.getMethod(Class.java:1581)
      at org.jboss.ejb.StatelessSessionContainer.setupHomeMapping(StatelessSessionContainer.java:139)
      at org.jboss.ejb.SessionContainer.createService(SessionContainer.java:169)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
      at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)

      I don't know where to search the problem because the Home and Remote interfaces are defined and contain this method. The method signature is correct. Any idea what I should check in such a case?

      Thank you very much.
      Regards

      Oliver jaun