The moose likes JDBC and Relational Databases and the fly likes cannot start java db server when using derby in netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "cannot start java db server when using derby in netbeans" Watch "cannot start java db server when using derby in netbeans" New topic
Author

cannot start java db server when using derby in netbeans

Peiyi Xiao
Greenhorn

Joined: Feb 06, 2013
Posts: 4
When I right click java DB node and choose start server option, IDE gives me the following error message:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/derby/drda/NetworkServerControl
Caused by: java.lang.ClassNotFoundException: org.apache.derby.drda.NetworkServerControl
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)


I do not know I to handle it. Please give me help, thanks.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20078
    
  30

You're obviously missing some JAR files on your class path.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: cannot start java db server when using derby in netbeans
 
jQuery in Action, 3rd edition