On Thursday, September 6, 2007, 9:52:46 AM, Robo <[EMAIL PROTECTED]> wrote:

> So after I put wicket-velocity jar in my build path, I`m getting
> following errors. (I`m using nothing from it and the prove is
> when I remove it it deploys OK.)
...
> So please explain me why Tomcat is complaining at deployment time
> about velocity just including it in the build path?

What's happening is that the Wicket Application instance has searched
the classpath to read all the wicket.properties files provided. The
one in the wicket-velocity jar says
"initializer=org.apache.wicket.velocity.Initializer", so it's trying
to run that initializer instance, but you're missing the dependances.

If using Maven, you'd have them, but if not, you can go to
MvnRepository (http://mvnrepository.com/) and search which would take
you to http://mvnrepository.com/artifact/velocity/velocity/1.4 where
it shows that you need velocity-dep-1.4.jar too.

That's a useful site to bookmark, whether using Maven or not (probably
even more if not!)

/Gwyn


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to