Hi,

I've been using Velocity in J2EE web application on z/OS and have been
running into a few problems. I'm using maven to build the application
which has set dependencies on velocity 1.4. the repository/jars folder
contains both velocity-1.4.jar and velocity-1.4-dev.jar.

For some reason, when velocity is initialized, the velocity.properties
file doesn't get picked up and as a result throws a
NullPointerException. When a Property object is manually populated
with the needed fields or if the property file is manually loaded and
passed into the init method, it seems to work.

Does anybody any idea why the velocity.properties in
velocity-1.4.jar\org\apache\velocity\runtime\defaults doesn't get
picked up automatically?

Could it be because the property file appears in both maven-1.4.jar
and maven-1.4-dev.jar?

Regards,
Anuradha

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

Reply via email to