This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am using Mac OS 10.3.8 and I am starting to learn about Velocity. I had some problems (actually I still do, but I want to work on them some more before turning to help), but the biggest one was solved when I moved a Velocity jar file into /Library/Java/Extentions.
Thank you for the answer. It is what I thought. But that now leads me to a new question, I hope you do not mind.
I am beginning and exporation of Velocity. I have downloaded and installed in. According to the ant build, it installed successfully.
There are two jar files that came with Velocity. I have moved them to /Library/Java/Extentions. But when I compile this simple application I get an error. The application is:
The error message I get is:
-> javac HelloWorld.java HelloWorld.java:5: cannot resolve symbol symbol : class VelocityCotext location: package velocity import org.apache.velocity.VelocityCotext; ^ HelloWorld.java:19: cannot resolve symbol symbol : class VelocityCotext location: class HelloWorld VelocityCotext context = new VelocityContext(); ^ HelloWorld.java:19: cannot resolve symbol symbol : class VelocityContext location: class HelloWorld VelocityCotext context = new VelocityContext(); ^ HelloWorld.java:23: cannot resolve symbol symbol : variable template location: class HelloWorld template.merge(context, writer); ^ 4 errors
Seems to me like it is saying that it cannot find the jar files in that directory. Am I reading that right?