Subject: Re: Struts Generator From: "Matt Raible" <[EMAIL PROTECTED]> === Change the path to the velocity jar in run.bat.
"alt.cybercafes" <[EMAIL PROTECTED]> wrote in message news:ado1ut$943$[EMAIL PROTECTED]... > Interested in using your Struts Generator but I keep getting the following > error messages: > > "Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/velocity/context/Context" > > My "layout\lib" countain all required jars. I had version 1.3 of velocity at > first, I later switch to velocity-dep-1.2.jar and still get the same errors. > I am using the latest xerces parser "xercesImpl.jar". Do you have any ideas > what's going on.? > > > "Azrul Azwar" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED]... > > Hi Matt, > > > > Thanks for trying. I haven't try Velocity 1.3, but if it is similar to > > the 1.2 version, it should have velocity-x.x.jar and > > velocity-dep-x.x.jar files. Use the velocity-dep.x.x.jar, and update the > > run.bat file. Hope this will work. > > > > -roel- > > > > > > =========================== > > > > Subject: Re: Struts Generator > > From: "Matt Raible" <[EMAIL PROTECTED]> > > === > > You've got my interest. When I try to run this tool, however, I get the > > following error: > > > > D:\Tools\karapan>run.bat test.xml > > Exception in thread "main" java.lang.NoClassDefFoundError: > > org/apache/commons/collections/ExtendedProperties > > at > > org.apache.velocity.runtime.RuntimeInstance.<init>(RuntimeInstance.java: > > 203) > > at > > org.apache.velocity.runtime.RuntimeSingleton.<clinit>(RuntimeSingleton.j > > ava:150) > > at org.apache.velocity.app.Velocity.init(Velocity.java:149) > > at > > com.javanovic.karapansapi.strutsgen.StrutsGenerator.generateFiles(Struts > > Generator.java:61) > > at > > com.javanovic.karapansapi.strutsgen.StrutsGenerator.main(StrutsGenera > > tor.java:40) > > D:\Tools\karapan> > > > > > > I am using: > > struts 1.1 b1 > > castor-0.9.3.9 > > velocity-1.3-rc1 > > xerces-1_4_4 > > > > on Windows XP with JDK 1.3.1_01 > > > > Thanks, > > > > Matt > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>