掲示板

Configuring build path for Liferay 7 service builder

7年前 に Zak Thompson によって更新されました。

Configuring build path for Liferay 7 service builder

Junior Member 投稿: 70 参加年月日: 16/06/13 最新の投稿
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
7年前 に David H Nebinger によって更新されました。

RE: Configuring build path for Liferay 7 service builder

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
This is an IDE issue, right? Which one?
7年前 に Zak Thompson によって更新されました。

RE: Configuring build path for Liferay 7 service builder

Junior Member 投稿: 70 参加年月日: 16/06/13 最新の投稿
Eclipse Mars.2 + Liferay IDE 3.0.1 (64 bit windows) from here: https://web.liferay.com/downloads/liferay-projects/liferay-ide
7年前 に Zak Thompson によって更新されました。

RE: Configuring build path for Liferay 7 service builder

Junior Member 投稿: 70 参加年月日: 16/06/13 最新の投稿
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.
7年前 に Alejandro Núñez によって更新されました。

RE: Configuring build path for Liferay 7 service builder

New Member 投稿: 4 参加年月日: 16/09/28 最新の投稿
Hi Zak,

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