In this blog post, let’s learn about the error message “11233 The return type for method method-name in class class-name is not void.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
11233 The return type for method method-name in class class-name is not void.
Reason for the Error
During the execution of a CREATE PROCEDURE statement, a method named method-name was found in the specified Java class, but the method had a return type other than void.
Solution
Correct the signature of the SPJ method, and then resubmit