You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run a Quarkus app from within Eclipse, I get an io.quarkus.qute.TemplateException that the specified template can not be found.
On the other hand, if I run ./gradlew quarkusDev from the command line, it works perfectly. Also when I build the app and then run the compiled quarkus-app.jar
Expected behavior
Quarkus (or Eclipse) should find the existing template in src/main/resources/templates.
Actual behavior
A "io.quarkus.qute.TemplateException: No template found for path ..." exception is thrown.
Describe the bug
When I run a Quarkus app from within Eclipse, I get an io.quarkus.qute.TemplateException that the specified template can not be found.
On the other hand, if I run
./gradlew quarkusDev
from the command line, it works perfectly. Also when I build the app and then run the compiled quarkus-app.jarExpected behavior
Quarkus (or Eclipse) should find the existing template in
src/main/resources/templates
.Actual behavior
A "io.quarkus.qute.TemplateException: No template found for path ..." exception is thrown.
How to Reproduce?
I created a minimal project here https://github.com/mailq/qutebug
Run it as Java Application from within the Eclipse IDE (2021-12) and experience the exception.
Run it with
./gradlew quarkusDev
at the command prompt and you get the correct output from the rendered template.Output of
uname -a
orver
Linux desktop 5.11.0-41-generic #45-Ubuntu SMP Fri Nov 5 11:37:01 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "17.0.1" 2021-10-19 OpenJDK Runtime Environment (build 17.0.1+12-Ubuntu-121.04) OpenJDK 64-Bit Server VM (build 17.0.1+12-Ubuntu-121.04, mixed mode, sharing)
GraalVM version (if different from Java)
none
Quarkus version or git rev
2.6.0-Final, wasn't also working with 2.5
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 7.3.2 (wrapper)
Additional information
Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components)
Version: 2021-12 (4.22.0)
Build id: 20211202-1639
The text was updated successfully, but these errors were encountered: