Closed shinestmt closed 1 year ago
Hey, Spring Boot uses its own classloader, so you need to add the classloader to the call where you create the template engine.
TemplateEngine templateEngine = TemplateEngine.create(codeResolver, Paths.get("jte-classes"), ContentType.Html, getClass().getClassLoader());
Also, please, for your own sanity and for the security of your database, don't use a template engine to generate SQL queries.
without Physical File
All in memory
using Spring-Boot [ IDEA debugging ] --> OK
but
Does it support Memory Compile? like this:
https://github.com/raulgomis/dynamic-java-compiler/tree/master