The error happens because HSQLDB’s SQL engine can’t find your class in its own Java classpath — fix it by adding the JAR via SET DATABASE JAVA CLASSPATH, restarting, and ensuring the method is public static and not in a nested Boot JAR.
SET DATABASE JAVA CLASSPATH
public static