Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qute: "No template found for path ..." only in Eclipse IDE #22507

Closed
mailq opened this issue Dec 23, 2021 · 2 comments · Fixed by #22879
Closed

Qute: "No template found for path ..." only in Eclipse IDE #22507

mailq opened this issue Dec 23, 2021 · 2 comments · Fixed by #22879
Labels
area/gradle Gradle kind/bug Something isn't working
Milestone

Comments

@mailq
Copy link

mailq commented Dec 23, 2021

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.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.

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 or ver

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 or gradlew --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

@mailq mailq added the kind/bug Something isn't working label Dec 23, 2021
@quarkus-bot quarkus-bot bot added the area/qute The template engine label Dec 23, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Dec 23, 2021

/cc @mkouba

@mailq
Copy link
Author

mailq commented Dec 23, 2021

No Quarkus Tools installed in Eclipse. Just plain Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/gradle Gradle kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants