Why do I get the error 'Class to be executed could not be found' while executing my Java function?
In Catalyst Serverless, this error occurs only if the .class file for your Java function is missing. If you uploaded the code via the Catalyst console , you will need to ensure that you uploaded it along with the .class files to resolve the issue. However, if you initialized your function via the CLI, you can use the command catalyst deploy. This command will compile the code automatically, create any of the missing dependency files, and upload the code to the Catalyst environment.
Updated
Yes
No
Send your feedback to us
Skip
Submit
Ask AI about this answer