Message Boards

missing cloneWithOriginalValues

SHAHRUL AZHAR, modified 2 Years ago.

missing cloneWithOriginalValues

New Member Posts: 7 Join Date: 1/6/22 Recent Posts

Hi, 

recently, when i compile SB, it throw error

 

SwimSubscribeWeatherModelImpl.java:62: error: SwimSubscribeWeatherModelImpl is not abstract and does not override abstract method cloneWithOriginalValues() in BaseModel
public class SwimSubscribeWeatherModelImpl

 

how to solve tihs issue?

my gradle in SB setting is like this:

dependencies {
    compileOnly group: "com.liferay.portal", name: "release.dxp.api"
    compile project(":modules:swim_servicebuilderDB:swim_servicebuilderDB-api")
    compile group: 'com.liferay', name: 'com.liferay.portal.dao.orm.custom.sql.api', version: '1.0.0'

}

buildService {
    apiDir = "../swim_servicebuilderDB-api/src/main/java"
}
group = "com.swim.portal.servicebuilder"

 

thumbnail
Dominik Marks, modified 2 Years ago.

RE: missing cloneWithOriginalValues

Regular Member Posts: 149 Join Date: 8/29/12 Recent Posts

You have to update the service builder plugin to at leat version 1.0.401.

 

txapeldot ., modified 2 Years ago.

RE: RE: missing cloneWithOriginalValues

Junior Member Posts: 87 Join Date: 1/15/15 Recent Posts

Could you show to me how I can check which is the current version of Liferay Service Builder plugin?

And more important, could you show to me how to proceed to perform the update you're requesting?

Thanks.

(I'm using Liferay Developer Studio 3.9.5.202112170330-ga6)

thumbnail
Christophe Cariou, modified 1 Year ago.

RE: missing cloneWithOriginalValues

Junior Member Posts: 57 Join Date: 10/1/07 Recent Posts

Hi.

 

Look here : https://liferay-community.slack.com/archives/C5H30KZ1A/p1647361866129979?thread_ts=1647347018.655979&cid=C5H30KZ1A