1 Reply Latest reply on Nov 23, 2006 3:19 AM by scout1lacno

    Need help on java.lang.NoSuchMethod exception

    scout1lacno


      Hi all,

      Im stuck with this for quite a time now.

      The situation is that im developing an EJB application. I have JBOSS-4.0.4.GA app server in my local machine( Windows 2000 ) and JBOSS-4.0.4.GA in the remote machine (Linux).

      When I deploy my apps on my local server there is no exception. But when I deploy my ear file on the remote machine an exception occur...

      The exception probably occur when I added a new method in my facade and facade local (TblMessagesFacade) and deploy it to the remote server. In my local machine there is no exception. The remote server doesnt seem to recognize the new method.

      The problem was solve by creating a new facade (TblMessageFacade)(TblMessageFacadeLocal)

      Does anyone have an idea why the exception happen? I erased the tmp file in the remote server. Restart the server.. check up the ear and the modification was there.. But again the server keeps on producing the error.

      Any ideas?

      Thankz so mch :)

      Exception:

      java.lang.NoSuchMethodError: ph.icomm.ibccrm.entity.TblCSCSubCategoryFacadeLocal.updateUnreadMailLocal(Ljava/lang/Short;Ljava/lang/Short;)V