Message Boards

Liferay 7.3-GA5 Service Builder import cannot be resolved

Kevin Neibarger, modified 3 Years ago.

Liferay 7.3-GA5 Service Builder import cannot be resolved

Regular Member Posts: 105 Join Date: 2/2/18 Recent Posts

I'm currently trying to build the service build in Liferay 7.3.4-GA5. My configuration is below

service.xml

<?xml version="1.0"?>

<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 7.3.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_7_3_0.dtd">

<service-builder dependency-injector="ds" package-path= "com.healthmap.portlet.compass">

<author>Kevin Neibarger</author>

<namespace>COMPASS_DB</namespace>

</entity>

    <entity name="TestEntity" local-service= "true" remote-service= "false" table="TestEntity">

        <column name="id" type= "long" primary= "true"></column>

        <column name="name" type= "String"></column>

    </entity>

</service-builder>

build.gradle (dbServices-api)

dependencies {

    compileOnly group: "com.liferay.portal", name: "release.portal.api", version: "7.3.4-ga5"

}

build.gradle (dbServices-service)

dependencies {

compile project(":modules:dbServices:dbServices-api")

  compileOnly group: "com.liferay.portal", name: "release.portal.api", version: "7.3.4-ga5"

compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel"

}

buildService {

apiDir = "../dbServices-api/src/main/java"

}

group = "com.healthmap.portlet.compass"

After running buildService gradle task I get compile errors on the following import

import com.liferay.portal.kernel.dao.orm.ArgumentsResolver;

Has this moved? Is this in another package?? I can't move forward because this import doesn't exist when the code is automatically generated.. Any ideas what I have wrong here??