Closed JahnGeor closed 3 months ago
Hi @JahnGeor,
I haven't used Java modules seriously so far, so have no pointer for you in the right direction.
I guess the Java Compiler would need a hint to allow access of your module, when compiling jte files.
There is this method TemplateEngine#setCompileArgs
. Maybe you can specify there that this module is accessible?
Hi @JahnGeor,
I haven't used Java modules seriously so far, so have no pointer for you in the right direction.
I guess the Java Compiler would need a hint to allow access of your module, when compiling jte files.
There is this method
TemplateEngine#setCompileArgs
. Maybe you can specify there that this module is accessible?
First of all, I would like to thank you very much for your response! After doing some research, I found the "precompilation" feature on the "gg.jte" web page and decided to use it through the "Maven" plugin. Everything is working as expected!
Hi! I'm new to Java development, so I apologize in advance if the question turns out to be stupid, but I couldn't find an answer to my question on the Internet. I need to create an HTML page by template to send it for printing via JavaFX modules. However, if the module-info file is present in the project, then an error appears during the compilation of the project:
There is no error without the module-info.java file and everything functions as expected. Please tell me how to modify the module-info file.java or my code to make project compiles without an error? Thanks!
Current file module-info.java is
Project structure:
Executable code:
JDK Version - 17
JTE Version - 3.1.9