Catalyst Functions Class not found error

Catalyst Functions Class not found error

Kindly do check on the following points. 

  1. Kindly make sure you have uploaded your Java function with all the complied class files. 
  2. If the class files are present, then kindly make sure you have provided the relative path of the main class properly in the catalyst-config.json file. 

For Example : If your main class is in Sample.java file and the class file for the same is present in /build/class/Sample.class , then the catalyst-config.json will be as follows :

  1. {
  2.     "execution": {
  3.         "main": "build/class/Sample"
  4.     },
  5.     "deployment": {
  6.         "stack": "java8",
  7.         "name": "sample",
  8.         "type": "advancedio"
  9.     }
  10. }
    • Related Articles

    • Class to be executed Could not be found

      The mentioned error “Class to be executed Could not be found” occurs only if the class file for your function code is missing. If you had uploaded the code via the Catalyst Console, kindly make sure you have uploaded it along with the class files to ...
    • Catalyst Functions : 500 Error

      In order to be deployed in Catalyst, the Node.js application must follow a certain code structure. This issue might occur if the code structure for the same is not followed. You can find the sample code structure for all Catalyst functions here.  For ...
    • Websocket support in Catalyst functions

      As of now, WebSockets are not supported in Catalyst functions.
    • Catalyst Functions and Timeout

      Basic IO & Advanced IO Functions - 30 seconds.  Event & Cron Functions - 900 seconds (15 minutes). 
    • Catalyst Functions and Timeout

      Basic IO & Advanced IO Functions - 30 seconds.  Event & Cron Functions - 900 seconds (15 minutes).