This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
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: 19649
    
  18

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cannot start java db server when using derby in netbeans
 
Similar Threads
websphere4.0 helpneeded ..............pl respond...
Weblogic platform8.1 SP4 installation error
Package question
package javax.servlet.http does not exist
error while starting oc4j