« Return to Thread: Velocity - where to set velocity to read class files not only in WEB-INF/classes but also in sub directories in WEB-INF

Re: Velocity - where to set velocity to read class files not only in WEB-INF/classes but also in sub directories in WEB-INF

by Christopher Schultz-2 :: Rate this Message:

Reply to Author | View in Thread

newbie-gero,

newbie-gero wrote:
> java.lang.NoClassDefFoundError: com/velocity/velocityObj/velocityTest (wrong
> name: velocityTest)

You need a "package" statement at the top of your Java file if you want
to put your servlet into a package.

-chris



signature.asc (266 bytes) Download Attachment

 « Return to Thread: Velocity - where to set velocity to read class files not only in WEB-INF/classes but also in sub directories in WEB-INF

LightInTheBox - Buy quality products at wholesale price