Foros de discusión

no such method error in deleteBook

thumbnail
Behzad Gadimi, modificado hace 11 años.

no such method error in deleteBook

Junior Member Mensajes: 36 Fecha de incorporación: 8/03/11 Mensajes recientes
Hi,
I've implemented deleteBook method in DocumentAttributeLocalServiceImpl class and I've built service and refresh project,
but the DocumentAttributeLocalServiceUtil.deleteBook statement isn't working.
At the time of execution, it says(in console) no such method, emoticon
thumbnail
Subhash Pavuskar, modificado hace 11 años.

RE: no such method error in deleteBook

Regular Member Mensajes: 234 Fecha de incorporación: 13/03/12 Mensajes recientes
Hi Behzad Gadimi,

Try this one !! Delete lib files from docroot/WEB-INF/lib and Rebuild your service !! hope it may help you !!
thumbnail
Habib Zare, modificado hace 11 años.

RE: no such method error in deleteBook

Junior Member Mensajes: 58 Fecha de incorporación: 28/10/12 Mensajes recientes
Hi Behzad.

delete folder docroot/WEB-INF/service and
delete service lib from docroot/WEB-INF/lib;


then build your service again.
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: no such method error in deleteBook

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
I think the following would work.
ant build-service
ant clean start
ant deploy