In this blog post, let’s learn about the error message “11225 Specified signature is invalid. Reason: The Java signature for a Java main method must be (java.lang.string[]).” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
11225 Specified signature is invalid. Reason: The Java signature for a Java main method must be (java.lang.string[]).
Reason for the Error
In a CREATE PROCEDURE statement, an invalid Java signature was used in the EXTERNAL NAME clause.
Solution
The Java signature for a Java main() method must be (java.lang.String[]). Correct the EXTERNAL NAME clause, and retry the SQL/MX statement