Foren

Configuring build path for Liferay 7 service builder

Zak Thompson, geändert vor 7 Jahren.

Configuring build path for Liferay 7 service builder

Junior Member Beiträge: 70 Beitrittsdatum: 13.06.16 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Configuring build path for Liferay 7 service builder

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
This is an IDE issue, right? Which one?
Zak Thompson, geändert vor 7 Jahren.

RE: Configuring build path for Liferay 7 service builder

Junior Member Beiträge: 70 Beitrittsdatum: 13.06.16 Neueste Beiträge
Eclipse Mars.2 + Liferay IDE 3.0.1 (64 bit windows) from here: https://web.liferay.com/downloads/liferay-projects/liferay-ide
Zak Thompson, geändert vor 7 Jahren.

RE: Configuring build path for Liferay 7 service builder

Junior Member Beiträge: 70 Beitrittsdatum: 13.06.16 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Configuring build path for Liferay 7 service builder

New Member Beiträge: 4 Beitrittsdatum: 28.09.16 Neueste Beiträge
Hi Zak,

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