File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Elasticsearch in Action this week in the Big Data forum!
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: 19911
    
  23

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


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: cannot start java db server when using derby in netbeans