ddd-by-examples / ddd-by-examples/library

GroovyTemplateAutoConfiguration - Cannot find template.

Open
#47 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
5.9k
Forks
831
PR merge metrics
No merged PRs in 30d

Description

I cloned repository from master branch today.
I got a lot of logs saying:

14:20:40.556 [main] WARN o.s.b.a.g.t.GroovyTemplateAutoConfiguration - Cannot find template location: classpath:/templates/ (please add some templates, check your Groovy configuration, or set spring.groovy.template.check-template-location=false)

during integration tests.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the integration tests that emit the warning and inspect Spring Boot's GroovyTemplateAutoConfiguration message. Determine whether the tests should provide a classpath:/templates/ location or disable template-location checking for this configuration. Done means the integration tests run without the unwanted warning and the chosen behavior is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, java, spring
Domain
backend, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.