首页上一页 1 下一页尾页 6 条记录 1/1页
为什么那个提示框老是要弹出来呢?
发表在Java图书答疑
2010-01-21
是否精华
是
否
版块置顶:
是
否
设置时间:
非永久
永久
起始时间:
结束时间:
是否扣分:
是
否
您好:我把《Java开发典型模块大全》里面的第10章桌面精灵的代码导入,并按书上的说明配置完毕后,老是弹出“已经运行”的提示框呢?点击“确定”或者关闭它的同时,主界面也消失了,这是怎么回事呢?
我用的平台环境是MyEclipse+jdk1.6u12
请帮忙下,谢谢!
我用的平台环境是MyEclipse+jdk1.6u12
请帮忙下,谢谢!
精彩评论 6
2010-01-23
4L
我换了几个版本的derby.jar,现在那个提示框不弹出来了,可是程序运行控制台显示很多异常信息,并且程序功能没法实现。异常信息如下:
JDBC
Exception in thread "Thread-5" java.lang.NoClassDefFoundError: Could not initialize class com.mwq.dao.JDBC
at com.mwq.dao.BaseDao.selectSomeNote(BaseDao.java:15)
at com.mwq.dao.Dao.sAwake(Dao.java:30)
at com.mwq.tabbedPane.ListPanel$1.run(ListPanel.java:48)
Exception in thread "Thread-2" java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.mwq.dao.JDBC.<clinit>(JDBC.java:26)
at com.mwq.dao.BaseDao.selectSomeNote(BaseDao.java:15)
at com.mwq.dao.Dao.sNoteByType(Dao.java:21)
at com.mwq.tabbedPane.ListPanel$1.run(ListPanel.java:50)
Caused by: java.lang.SecurityException: sealing violation: package org.apache.derby.impl.store.raw.data is sealed
at java.net.URLClassLoader.defineClass(URLClassLoader.java:227)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.apache.derby.impl.services.monitor.BaseMonitor.getImplementations(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.getDefaultImplementations(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Unknown Source)
at org.apache.derby.impl.services.monitor.FileMonitor.<init>(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Unknown Source)
at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDriver.boot(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDriver.<clinit>(Unknown Source)
... 6 more
Exception in thread "Thread-3" java.lang.NoClassDefFoundError: Could not initialize class com.mwq.dao.JDBC
at com.mwq.dao.BaseDao.selectSomeNote(BaseDao.java:15)
at com.mwq.dao.Dao.sNoteByType(Dao.java:21)
at com.mwq.tabbedPane.ListPanel$1.run(ListPanel.java:50)
Exception in thread "Thread-4" java.lang.NoClassDefFoundError: Could not initialize class com.mwq.dao.JDBC
at com.mwq.dao.BaseDao.selectSomeNote(BaseDao.java:15)
at com.mwq.dao.Dao.sNoteByType(Dao.java:21)
at com.mwq.tabbedPane.ListPanel$1.run(ListPanel.java:50)
麻烦看下,辛苦!
JDBC
Exception in thread "Thread-5" java.lang.NoClassDefFoundError: Could not initialize class com.mwq.dao.JDBC
at com.mwq.dao.BaseDao.selectSomeNote(BaseDao.java:15)
at com.mwq.dao.Dao.sAwake(Dao.java:30)
at com.mwq.tabbedPane.ListPanel$1.run(ListPanel.java:48)
Exception in thread "Thread-2" java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.mwq.dao.JDBC.<clinit>(JDBC.java:26)
at com.mwq.dao.BaseDao.selectSomeNote(BaseDao.java:15)
at com.mwq.dao.Dao.sNoteByType(Dao.java:21)
at com.mwq.tabbedPane.ListPanel$1.run(ListPanel.java:50)
Caused by: java.lang.SecurityException: sealing violation: package org.apache.derby.impl.store.raw.data is sealed
at java.net.URLClassLoader.defineClass(URLClassLoader.java:227)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.apache.derby.impl.services.monitor.BaseMonitor.getImplementations(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.getDefaultImplementations(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Unknown Source)
at org.apache.derby.impl.services.monitor.FileMonitor.<init>(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Unknown Source)
at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDriver.boot(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDriver.<clinit>(Unknown Source)
... 6 more
Exception in thread "Thread-3" java.lang.NoClassDefFoundError: Could not initialize class com.mwq.dao.JDBC
at com.mwq.dao.BaseDao.selectSomeNote(BaseDao.java:15)
at com.mwq.dao.Dao.sNoteByType(Dao.java:21)
at com.mwq.tabbedPane.ListPanel$1.run(ListPanel.java:50)
Exception in thread "Thread-4" java.lang.NoClassDefFoundError: Could not initialize class com.mwq.dao.JDBC
at com.mwq.dao.BaseDao.selectSomeNote(BaseDao.java:15)
at com.mwq.dao.Dao.sNoteByType(Dao.java:21)
at com.mwq.tabbedPane.ListPanel$1.run(ListPanel.java:50)
麻烦看下,辛苦!