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)
此外netbeans找不到
import javax.persistence.*;