RE: Error running Service Builder after creation in Liferay 7.4 DXP

Jamie Sammons, modified 3 Years ago. New Member Posts: 2 Join Date: 9/15/22 Recent Posts

Hi everyone!

I hope you help me with this,

I have installed a develop environment with Liferay 7.4 DXP with Liferay workspace.

I've created a Service Builder project, and run buildService gradle task, whithout any change to service.xml file.

build gradle task runs with no errors, but when I deploy api and service jars to the server it doesn't work, giving me an error.

2022-09-15 15:29:33.215 ERROR [Framework Event Dispatcher: Equinox Container: 92eee7c8-f0a1-4220-8ff0-b445962bc9aa][Framework:93] FrameworkEvent ERROR 
java.lang.AbstractMethodError: Receiver class another.sb.service.persistence.impl.FooPersistenceImpl$FooModelArgumentsResolver does not define or inherit an implementation of the resolved method abstract getClassName()Ljava/lang/String; of interface com.liferay.portal.kernel.dao.orm.ArgumentsResolver.

I've tried to follow same steps on a Liferay 7.3 environment with a success result, it works well on Liferay 7.3.

Do you know if I have to do any additional step to get service builder working on Liferay 7.4?

Thanks in advance.

thumbnail
Jamie Sammons, modified 3 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

with the rolling updates and constantly incoming fixes, it'd be interesting to know the update version that you're trying this on (the "x" in 7.4-Ux), and the workspace version (to be found in your workspace's settings.gradle).

Jamie Sammons, modified 3 Years ago. New Member Posts: 2 Join Date: 9/15/22 Recent Posts

Hi Olaf!,

Of course, I'm working with:

- liferay-dxp-7.4.13.u15

- classpath(group: "com.liferay", name: "com.liferay.gradle.plugins.workspace", version: "3.4.27")

Thanks for your help :D