boshao122
波少love
2013-04-16 15:10
浏览 478
已采纳

启动web harvest的时候出现Caused by: java.io.IOException: Could not get shel

当使用java -jar命令的时候,出现如下异常,请各位看看,我还是新手:

d:\work\tec_crawlers>java -jar webharvest.jar
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at org.webharvest.gui.Ide.(Unknown Source)
at CommandLine$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.RuntimeException: java.io.IOException: Could not get shell folder ID list
at sun.awt.shell.Win32ShellFolder2$ComTask.execute(Win32ShellFolder2.java:1223)
at sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Win32ShellFolder2.java:557)
at sun.awt.shell.Win32ShellFolder2.composePathForCsidl(Win32ShellFolder2.java:211)
at sun.awt.shell.Win32ShellFolder2.(Win32ShellFolder2.java:224)
at sun.awt.shell.Win32ShellFolderManager2.getNetwork(Win32ShellFolderManager2.java:123)
at sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:541)
at sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:538)
at sun.awt.shell.Win32ShellFolder2$ComTask.execute(Win32ShellFolder2.java:1214)
at sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Win32ShellFolder2.java:538)
at sun.awt.shell.Win32ShellFolder2.access$400(Win32ShellFolder2.java:55)
at sun.awt.shell.Win32ShellFolder2$11.call(Win32ShellFolder2.java:711)
at sun.awt.shell.Win32ShellFolder2$11.call(Win32ShellFolder2.java:702)
at sun.awt.shell.Win32ShellFolder2$ComTask.execute(Win32ShellFolder2.java:1214)
at sun.awt.shell.Win32ShellFolder2.getChildByPath(Win32ShellFolder2.java:702)
at sun.awt.shell.Win32ShellFolderManager2.getPersonal(Win32ShellFolderManager2.java:137)
at sun.awt.shell.Win32ShellFolder2$10.call(Win32ShellFolder2.java:652)
at sun.awt.shell.Win32ShellFolder2$10.call(Win32ShellFolder2.java:639)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at sun.awt.shell.Win32ShellFolder2$ComTaskExecutor$2.run(Win32ShellFolder2.java:1180)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Could not get shell folder ID list
at sun.awt.shell.Win32ShellFolder2.getFileSystemPath0(Native Method)
at sun.awt.shell.Win32ShellFolder2.access$1000(Win32ShellFolder2.java:55)
at sun.awt.shell.Win32ShellFolder2$8.call(Win32ShellFolder2.java:559)
at sun.awt.shell.Win32ShellFolder2$8.call(Win32ShellFolder2.java:557)
at sun.awt.shell.Win32ShellFolder2$ComTask.execute(Win32ShellFolder2.java:1214)
... 22 more

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

相关推荐