Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Behzad Gadimi
no such method error in deleteBook
27 de Fevereiro de 2013 08:54
Resposta

Behzad Gadimi

Ranking: Junior Member

Mensagens: 31

Data de entrada: 8 de Março de 2011

Mensagens recentes

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
27 de Fevereiro de 2013 09:16
Resposta

Subhash Pavuskar

Ranking: Regular Member

Mensagens: 234

Data de entrada: 12 de Março de 2012

Mensagens recentes

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
27 de Fevereiro de 2013 09:27
Resposta

Habib Zare

Ranking: Junior Member

Mensagens: 58

Data de entrada: 28 de Outubro de 2012

Mensagens recentes

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
27 de Fevereiro de 2013 13:27
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

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