Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2
This is the forum to discuss the Wrox book Beginning Spring Framework 2 by Thomas Van de Velde, Bruce Snyder, Christian Dupuis, Sing Li, Anne Horton, Naveen Balani; ISBN: 9780470101612
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 5th, 2008, 01:14 AM
Registered User
 
Join Date: Jan 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unable to startup database - Chapter 3

Hi,

I try to startup the database shown in Chapter 3 (page 60) via the command:

java -cp target/pixweb-0.0.1/WEB-INF/lib/hsqldb-1.8.0.7.jar org.hsqldb.Server -database.0 temp -dbname.0 pix

However, it failed with the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/hsqldb/Server

==========

Does anyone have any clue to resolve this issue?
Thanks. :)

 
Old January 10th, 2008, 01:53 PM
Registered User
 
Join Date: Dec 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The class file can't be located., hence you are getting the exception.Looks like you are running java command from wrong location.
Open command prompt and change to wrox-pix-web directory (you get this directory when you have extracted the source code) and run the java command.

 
Old April 22nd, 2008, 01:02 PM
Registered User
 
Join Date: Apr 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by naveenbalani
 The class file can't be located., hence you are getting the exception.Looks like you are running java command from wrong location.
Open command prompt and change to wrox-pix-web directory (you get this directory when you have extracted the source code) and run the java command.

Ok, but the pixweb-0.0.1 directory is not in the target directory.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 2 Unable to follow instructions GarethHowell BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 4 July 9th, 2008 03:49 AM
Startup Options/Database Password kritimehrotra Access 0 July 28th, 2006 05:54 PM
Startup Options/Database Password kritimehrotra Access VBA 0 July 28th, 2006 05:49 PM
PHP Warning: PHP Startup: Unable to load dynamic l surendran Beginning PHP 1 May 29th, 2006 08:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.