Installation Speed ​​in Eclipse

I need to work in speed, I read the initial sections from the website velocity.apache.org, but it does not explain how I should install, configure it. I installed the Velocity interface from the eclipse update manager. And then I copied the speed-1.7.jar and speed-1.7-dep.jar into java / lib / ext and included them in jre6 (standard VM) in the Preferences / Java / Installed JRE. (I don’t know if this is really true). I made a dynamic web project, and in it I tried a class of a class from the speed folder 1.7, but it does not work, it does not have errors, but it does not recognize resources. What do I need to do with the template, where in the project folder I have to put it. And do I need to do something else to install Velocity? Thanks in advance for helping the newbie.

+3
source share
2 answers

For a web project, you must put the jars in a folder WEB-INF/lib. for more information on WAR packaging, see Web Modules in the JEE5 Tutorial

In eclipse you need to add the class path to

Right-click the project, select Properties, Java-Build-Path, Library Tab, Add JARS.

Banning the placement of dependent jars in $ JAVA_HOME / lib / ext is not recommended.

+2
source

You saw the developer guide , you can start with this guide.

0
source

All Articles