Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/10/2007, 06:01
Avatar de cris_maco
cris_maco
 
Fecha de Ingreso: abril-2007
Ubicación: Salamanca
Mensajes: 254
Antigüedad: 17 años
Puntos: 0
java.lang.NoSuchMethodError

me esta dando este error y segun he visto en este foro, en un post antiguo cuales podrian ser las causas, las deshecho todas.
la traza del error es:
java.lang.NoSuchMethodError: proyecto.hibernate.Operaciones.cambiarFecha(Ljava/lang/String;)Ljava/util/Date;
proyecto.hibernate.GestorEDao.alta(GestorEDao.java :43)
proyecto.hibernate.struts.action.GestorEAction.alt aCobro(GestorEAction.java:35)
sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.struts.actions.DispatchAction.dispatchM ethod(DispatchAction.java:269)
org.apache.struts.actions.DispatchAction.execute(D ispatchAction.java:170)
org.apache.struts.chain.commands.servlet.ExecuteAc tion.execute(ExecuteAction.java:58)
org.apache.struts.chain.commands.AbstractExecuteAc tion.execute(AbstractExecuteAction.java:67)
org.apache.struts.chain.commands.ActionCommandBase .execute(ActionCommandBase.java:51)
org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:190)
org.apache.commons.chain.generic.LookupCommand.exe cute(LookupCommand.java:304)
org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:190)
org.apache.struts.chain.ComposableRequestProcessor .process(ComposableRequestProcessor.java:283)
org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1913)
org.apache.struts.action.ActionServlet.doPost(Acti onServlet.java:462)
javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
javax.servlet.http.HttpServlet.service(HttpServlet .java:803)

el post en cuestion es http://www.forosdelweb.com/f45/excep...derror-411633/
el metodo se encuentra en una clase que hace funciones variadas, y la instancio al usarla. el metodo es public, esta bien escrito ya que eclipse me lo reconoce y los parametros estan bien porque eclipse tampoco me da ningun otro error, asi que descarto el error en tiempo de compilacion tambien. Incluso he probado a hacer un deploy del proyecto y nada.

por que podra ser el error???