3 Replies Latest reply on Jul 25, 2002 3:46 PM by Mikael Eriksson

    [ERR] Session Bean Stateless

    Michele Newbie

      Hi,
      I write a session bean called gestore but when i try to deploy it jboss show me this:

      [Container factory] java.lang.NoSuchMethodException
      [Container factory] at java.lang.Class.getMethod0(Native Method)
      [Container factory] at java.lang.Class.getMethod(Class.java:888)
      [Container factory] at org.jboss.ejb.StatelessSessionContainer.setupHomeMapp
      ing(StatelessSessionContainer.java:397)
      [Container factory] at org.jboss.ejb.StatelessSessionContainer.init(StatelessSessionContainer.java:158)
      [Container factory] at org.jboss.ejb.Application.init(Application.java:202)
      [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:372)
      [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:304)
      [Container factory] at java.lang.reflect.Method.invoke(Native Method)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Container factory] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:494)
      [Container factory] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:468)
      [Container factory] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:208)
      [Container factory] at java.lang.reflect.Method.invoke(Native Method)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Container factory] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)
      [Container factory] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)

      [Container factory] at java.lang.Thread.run(Thread.java:484)

      i don't post the code but if it's can help i will post...

      sorry me for my bad English...

      thank you