-
I think I found the cause of the issue. Locally, for testing, I've used distribution package but with locally installed Java (that is JDK). In our container image we are installing JRE (not JDK) and due to that gg.jte is unable to find
JavaCompiler
usingjavax.tools.ToolProvider
.Just for reference - https://stackoverflow.com/questions/15513330/toolprovider-getsystemjavacompiler-returns-null-usable-with-only-jre-install
We have 2 solutions here:
- Use JDK in our image - simple to apply and rather easy to do, but I would prefer to not include full JDK if possible.
- Precompile JTE templates to Java classes during maven build - there is a maven plugin for that, and I think this would be good to distribution builds (not for development though)
I'll work on fixing the issue with precompiled JTE templates.
Type |
Bug
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.4.0
|
Target Release |
1.0
|
Sprints |
n/a
|
Customer |
n/a
|
Iterations
-
tigase-server-8.4.0 Closed
Issue Votes (0)
Version: