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

启动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条回答 默认 最新

  • jinnianshilongnian 2013-04-16 15:15
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 vb6.0截取当前窗体保存为jpg文件
  • ¥20 苹果手机不使用大疆sdk怎么获取遥控器控制信息或如何接入大疆sdk并且成功上架sdk
  • ¥15 改动头文件造成的编译错误如何解决
  • ¥20 woocommerce 注册按键重定向
  • ¥100 求书法图像文字切割代码
  • ¥15 同一个波形探测距离不同的目标,为什么fft之后得到的频谱图会发生移动,不应该时移不改变幅度谱吗(标签-matlab)(相关搜索:matlab仿真)
  • ¥15 Proteus仿真程序只能执行一次
  • ¥15 语音识别websocket报错
  • ¥15 激光器,引脚问题,无法处理
  • ¥20 求写一份!只提交Mapper映射文件 如:UsersMapper.xml