You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by Apache Wiki <wi...@apache.org> on 2005/10/05 22:08:57 UTC

[Db-torque Wiki] Update of "TutorialUserCommentsStep4" by jeanTAnderson

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-torque Wiki" for change notification.

The following page has been changed by jeanTAnderson:
http://wiki.apache.org/db-torque/TutorialUserCommentsStep4

------------------------------------------------------------------------------
  Please add comments for [http://db.apache.org/torque/tutorial/step4.html Step 4 of the Torque tutorial] below.
  You must be logged into the wiki to edit this page.
  
+ There's a version mismatch for village in steps 4 and 6.
+ 
+ Step 4 sets up village-2.0-dev-20030825.jar in the project.xml like this:
+ 
+ {{{     <dependency>
+       <artifactId>village</artifactId>
+       <groupId>village</groupId>
+       <version>2.0-dev-20030825</version>
+     </dependency>}}}
+ 
+ But Step 6 uses village-2.0.jar, resulting in a java.lang.NoClassDefFoundError error:
+ 
+    java -cp classes:lib/avalon-framework-4.1.4.jar:''...deleted stuff...'':lib/village-2.0.jar com.kazmier.Bookstore
+ 
+ I changed the project.xml to 2.0 and everything worked:
+ 
+    <version>2.0</version>
+ 
+ very nice tutorial! very nicely organized.
  ----
  

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org