Found the problem! Build.xml used by the Torque generation add jars to the classpatch. In this case it is adding "../../log4j-1.1.jar" which did not exist, thus the java.lang.NoClassDefFoundError.
This has nothing to do with the JDK! Paul Spencer wrote: > Eric, > I have rolled back the commit, although I cannot recreate the error > you, or other, have described. I am using JDK 1.3.1_03. I will try > to recreate the problem with JDK 1.4.0_01-b03 > > Paul Spencer > > Eric L. Wittle wrote: > >> Hello! >> >> >> >> I'm trying to build Jetspeed from the current CVS source. I am getting >> an exception from Velocity during the generation of the Torque classes. >> The error in the Velocity log looks like this: >> >> >> >> 2002-09-02 00:49:49,397 - ResourceManager : found om/Peer.vm with loader >> org.apache.velocity.runtime.resource.loader.FileResourceLoader >> >> 2002-09-02 00:49:49,397 - Left side ($targetDatabase) of '==' operation >> has null value. If a reference, it may not be in the context. Operation >> not possible. om/Peer.vm [line 385, column 28] >> >> 2002-09-02 00:49:49,407 - ResourceManager : found om/MapBuilder.vm with >> loader org.apache.velocity.runtime.resource.loader.FileResourceLoader >> >> 2002-09-02 00:49:49,407 - Method parse threw exception for reference >> $generator in template om/Control.vm at [44,7] >> >> >> >> I can build the 1.4b1 source fine with the same environment, so this may >> be something recent. >> >> >> >> I'm using Sun JDK 1.4.0_01 on Windows XP Professional and Oracle 9i for >> the database. Any help you can offer would be appreciated. >> >> >> >> -Eric >> >> >> >> > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
