请高手指教:java.io.FileNotFoundException: .\icons\cmd_Parent.gif (系统找不
该程序在linux系统上可以运行,通过java web start部署后,在windows上运行时,出现下列错误,但是这些文件已经都打进包里了,不知为何找不到,请高手指教!org.eclipse.swt.SWTException: i/o error (java.io.FileNotFoundException: .\icons\cmd_Parent.gif (系统找不到指定的路径。))
at org.eclipse.swt.SWT.error(SWT.java:3374)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:156)
at org.eclipse.swt.graphics.ImageDataLoader.load(ImageDataLoader.java:26)
at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:374)
at org.eclipse.swt.graphics.Image.<init>(Image.java:708)
at h3c.neostor.mainFrame.createToolBar(mainFrame.java:290)
at h3c.neostor.mainFrame.createSShell(mainFrame.java:213)
at h3c.neostor.mainFrame.main(mainFrame.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: .\icons\cmd_Parent.gif (系统找不到指定的路径。)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.eclipse.swt.internal.Compatibility.newFileInputStream(Compatibility.java:157)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:153)
... 15 more