Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Behzad Gadimi
no such method error in deleteBook
February 27, 2013 8:54 AM
Answer

Behzad Gadimi

Rank: Junior Member

Posts: 31

Join Date: March 8, 2011

Recent Posts

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
Subhash Pavuskar
RE: no such method error in deleteBook
February 27, 2013 9:16 AM
Answer

Subhash Pavuskar

Rank: Regular Member

Posts: 234

Join Date: March 12, 2012

Recent Posts

Hi Behzad Gadimi,

Try this one !! Delete lib files from docroot/WEB-INF/lib and Rebuild your service !! hope it may help you !!
Habib Zare
RE: no such method error in deleteBook
February 27, 2013 9:27 AM
Answer

Habib Zare

Rank: Junior Member

Posts: 43

Join Date: October 28, 2012

Recent Posts

Hi Behzad.

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


then build your service again.
Hitoshi Ozawa
RE: no such method error in deleteBook
February 27, 2013 1:27 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

I think the following would work.
ant build-service
ant clean start
ant deploy