Error resolving template with Spring Boot using Thymeleaf packaged in a .jar
问题 I have a Spring Boot application using Thymeleaf as template resolver, which works fine when debugging from NetBeans, but gives me this error running its .jar: Error resolving template "/theme/property", template might not exist or might not be accessible by any of the configured Template Resolvers The app is set to auto-configurer with the annotation @SpringBootApplication, at an extension of SpringBootServletInitializer. I haven't set any contextPath into the properties file. I'm using