子模块找不到parrent静态资源

时间:2016-05-26 09:04:53

标签: java gradle spring-boot thymeleaf spring-4

我使用 spring boot + thymeleaf + spring4 + gradle 并构建下一个项目结构:

--- Root
src/main/resources/templates/common-part.html
--- First-child
src/main/resources/templates/first-child.html
--- Second-child 
src/main/resources/templates/second-child.html

当我在build/resources/main/templates/中构建第一个子项目时,我只有first-child.html,但我希望父母也有common-part.html

如何与我的孩子共享root的静态资源?

0 个答案:

没有答案
相关问题