Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Error running Service Builder after creation in Liferay 7.4 DXP
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.
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).
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