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
Something went wrong attempting to register service method
Hi
I use JSON Web Service, after run build service and deploy service module I encountered with the below exception!!!
How can I solve this problem?
I use JSON Web Service, after run build service and deploy service module I encountered with the below exception!!!
[JSONWebServiceActionsManagerImpl:267] Something went wrong attempting to register service method
Meanwhile, my Liferay version is 7.3.How can I solve this problem?
ali yeganeh:
Just that exception doesn't really help. I like to joke about rephrasing error descriptions to "Something went wrong" - in this case my joke falls flat, as your error message already says exactly that, so you'll have to do something differently ;)
Hi
I use JSON Web Service, after run build service and deploy service module I encountered with the below exception!!!
[JSONWebServiceActionsManagerImpl:267] Something went wrong attempting to register service method
How can I solve this problem?
Can you reproduce in a minimal project that you can post? Also, mention the (exact) version in use.
As Olaf said, but IMHO the exception should tell you a lot of details about the object that could not be registered. It also should contain the original exception message, that caused this log entry.
An issue like that can be caused by many small errors like duplicate/invalid context paths, mistakes in the annotations maybe. It can also be caused by copy and paste. Copying a project/a class and forgetting to rename something.
An issue like that can be caused by many small errors like duplicate/invalid context paths, mistakes in the annotations maybe. It can also be caused by copy and paste. Copying a project/a class and forgetting to rename something.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™