Fórum

Configuring build path for Liferay 7 service builder

Zak Thompson, modificado 7 Anos atrás.

Configuring build path for Liferay 7 service builder

Junior Member Postagens: 70 Data de Entrada: 13/06/16 Postagens Recentes
Right now I'm in the process of creating a service using service builder in Liferay 7. However, once I create the module, the source files are not added to the build path, which means I'm not getting auto code complete when creating my implementations in the impl files. Furthermore, I keep getting red error lines under all of the packages with error messages similar to the following: ' The declared package "com.company.service.impl" does not match the expected package "" '. Is there a way to auto-fix the build path and have Liferay configure it? Or is this something I'll have to do on my own?
thumbnail
David H Nebinger, modificado 7 Anos atrás.

RE: Configuring build path for Liferay 7 service builder

Liferay Legend Postagens: 14915 Data de Entrada: 02/09/06 Postagens Recentes
This is an IDE issue, right? Which one?
Zak Thompson, modificado 7 Anos atrás.

RE: Configuring build path for Liferay 7 service builder

Junior Member Postagens: 70 Data de Entrada: 13/06/16 Postagens Recentes
Eclipse Mars.2 + Liferay IDE 3.0.1 (64 bit windows) from here: https://web.liferay.com/downloads/liferay-projects/liferay-ide
Zak Thompson, modificado 7 Anos atrás.

RE: Configuring build path for Liferay 7 service builder

Junior Member Postagens: 70 Data de Entrada: 13/06/16 Postagens Recentes
Here's a screenshot showing all the red lines, the lack of the build path under test-service-service, and in the console, you can see the "Test: 0" that properly appeared from when I ran the remote service through the JSON api.
Alejandro Núñez, modificado 7 Anos atrás.

RE: Configuring build path for Liferay 7 service builder

New Member Postagens: 4 Data de Entrada: 28/09/16 Postagens Recentes
Hi Zak,

I have the same issue. Did you get fix it?