Fórum
finall() method isn't working
Behzad Gadimi, modificado 11 Anos atrás.
finall() method isn't working
Junior Member Postagens: 36 Data de Entrada: 08/03/11 Postagens Recentes
hi,
I have a getAllBooks method that have one line of code : return documentAttributePersistence.findAll();
It's implemented in DocumentAttributeLocalServiceImpl.Java file and then I've clicked on build-service and it's created in DocumentAttributeLocalSeriveUtil file.
but when I want to use it in search container, it says :
ERROR [jsp:154] java.lang.NoSuchMethodError: molk.portlet.bookAdmin.books.service.DocumentAttributeLocalServiceUtil.getAllBooks()Ljava/util/List;
why ?
I have a getAllBooks method that have one line of code : return documentAttributePersistence.findAll();
It's implemented in DocumentAttributeLocalServiceImpl.Java file and then I've clicked on build-service and it's created in DocumentAttributeLocalSeriveUtil file.
but when I want to use it in search container, it says :
ERROR [jsp:154] java.lang.NoSuchMethodError: molk.portlet.bookAdmin.books.service.DocumentAttributeLocalServiceUtil.getAllBooks()Ljava/util/List;
why ?