3 Replies Latest reply on May 1, 2002 11:38 AM by Adrian Brock

    getting java.lang.NoSuchMethodException(please help me...)

    maruthi_kuchi Newbie

      guys i am getting java.lang.NoSuchMethodException
      while deploying.
      here is the o/p

      [Verifier] Verifying file:/C:/mskuchi/jboss/tmp/deploy/Default/TEST.jar/ejb1001.
      jar
      [Container factory] Deploying UserAccountEntityBean
      [Container factory] Deploying RegisterSessionBean
      [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:352)
      [Container factory] at org.jboss.ejb.StatelessSessionContainer.init(Stateles
      sSessionContainer.java:147)
      [Container factory] at org.jboss.ejb.Application.init(Application.java:183)
      [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactor
      y.java:337)
      [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactor
      y.java:275)
      [Container factory] at java.lang.reflect.Method.invoke(Native Method)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
      rverImpl.java:1628)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
      rverImpl.java:1523)
      [Container factory] at org.jboss.deployment.J2eeDeployer.startApplication(J2
      eeDeployer.java:415)
      [Container factory] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer
      .java:178)
      [Container factory] at java.lang.reflect.Method.invoke(Native Method)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
      rverImpl.java:1628)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
      rverImpl.java:1523)
      [Container factory] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:3
      58)
      [Container factory] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)

      [Container factory] at java.lang.Thread.run(Thread.java:484)
      [J2EE Deployer Default] Starting TEST.jar failed!
      [Auto deploy] org.jboss.ejb.DeploymentException: Could not deploy file:/C:/mskuc
      hi/jboss/tmp/deploy/Default/TEST.jar, Cause:java.lang.NoSuchMethodException
      [Auto deploy] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:3
      65)


      Please help me....