Fórumok

no such method error in deleteBook

thumbnail
Behzad Gadimi, módosítva 11 év-val korábban

no such method error in deleteBook

Junior Member Bejegyzések: 36 Csatlakozás dátuma: 2011.03.08. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: no such method error in deleteBook

Regular Member Bejegyzések: 234 Csatlakozás dátuma: 2012.03.13. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: no such method error in deleteBook

Junior Member Bejegyzések: 58 Csatlakozás dátuma: 2012.10.28. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: no such method error in deleteBook

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
I think the following would work.
ant build-service
ant clean start
ant deploy