Reputation: 25
How do I install Thymeleaf without using maven in Spring? Most of the information out there is based using maven. Thanks.
Upvotes: 1
Views: 1885
Reputation: 5619
Create a new empty project. Install thymeleaf (and spring) with maven as described in the official links, put your dependencies.
Open your pom.xml and add maven dependency plugin.
Open a command prompt/shell and get your project jars with the command below
mvn dependency:copy
Now you will have all needed jars in one place.
Now for your question, include all of these in your project classpath and everything should be ok.
Upvotes: 2
Reputation: 32417
Like any project, if you want to use it without Maven, you have to manually download the jar (and any dependencies) and add it to the classpath of your project. The dependencies are listed on the download page http://www.thymeleaf.org/download.html
Upvotes: 1