jar文件运行问题
C:\Users\Administrator>java -jar D:\我的游戏\我的教学游戏\LoneBall.jarError while reading:welcome.png
java.lang.IllegalArgumentException: input == null!
at javax.imageio.ImageIO.read(ImageIO.java:1348)
at com.jamescho.game.main.Resources.loadImage(Resources.java:36)
at com.jamescho.game.main.Resources.load(Resources.java:19)
at com.jamescho.game.state.LoadState.init(LoadState.java:13)
at com.jamescho.game.main.Game.setCurrentState(Game.java:38)
at com.jamescho.game.main.Game.addNotify(Game.java:47)
at java.awt.Container.addNotify(Container.java:2776)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2776)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2776)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at javax.swing.JRootPane.addNotify(JRootPane.java:757)
at java.awt.Container.addNotify(Container.java:2776)
at java.awt.Window.addNotify(Window.java:770)
at java.awt.Frame.addNotify(Frame.java:487)
at java.awt.Window.pack(Window.java:807)
at com.jamescho.game.main.GameMain.main(GameMain.java:17)
Error while reading:iconimage.png
java.lang.IllegalArgumentException: input == null!
at javax.imageio.ImageIO.read(ImageIO.java:1348)
at com.jamescho.game.main.Resources.loadImage(Resources.java:36)
at com.jamescho.game.main.Resources.load(Resources.java:20)
at com.jamescho.game.state.LoadState.init(LoadState.java:13)
at com.jamescho.game.main.Game.setCurrentState(Game.java:38)
at com.jamescho.game.main.Game.addNotify(Game.java:47)
at java.awt.Container.addNotify(Container.java:2776)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2776)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2776)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at javax.swing.JRootPane.addNotify(JRootPane.java:757)
at java.awt.Container.addNotify(Container.java:2776)
at java.awt.Window.addNotify(Window.java:770)
at java.awt.Frame.addNotify(Frame.java:487)
at java.awt.Window.pack(Window.java:807)
at com.jamescho.game.main.GameMain.main(GameMain.java:17)
Error while reading:line.png
java.lang.IllegalArgumentException: input == null!
at javax.imageio.ImageIO.read(ImageIO.java:1348)
at com.jamescho.game.main.Resources.loadImage(Resources.java:36)
at com.jamescho.game.main.Resources.load(Resources.java:21)
at com.jamescho.game.state.LoadState.init(LoadState.java:13)
at com.jamescho.game.main.Game.setCurrentState(Game.java:38)
at com.jamescho.game.main.Game.addNotify(Game.java:47)
at java.awt.Container.addNotify(Container.java:2776)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2776)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2776)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at javax.swing.JRootPane.addNotify(JRootPane.java:757)
at java.awt.Container.addNotify(Container.java:2776)
at java.awt.Window.addNotify(Window.java:770)
at java.awt.Frame.addNotify(Frame.java:487)
at java.awt.Window.pack(Window.java:807)
at com.jamescho.game.main.GameMain.main(GameMain.java:17)
Exception in thread "main" java.lang.NullPointerException
at sun.applet.AppletAudioClip.<init>(AppletAudioClip.java:65)
at java.applet.Applet.newAudioClip(Applet.java:313)
at com.jamescho.game.main.Resources.loadSound(Resources.java:30)
at com.jamescho.game.main.Resources.load(Resources.java:22)
at com.jamescho.game.state.LoadState.init(LoadState.java:13)
at com.jamescho.game.main.Game.setCurrentState(Game.java:38)
at com.jamescho.game.main.Game.addNotify(Game.java:47)
at java.awt.Container.addNotify(Container.java:2776)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2776)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2776)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at javax.swing.JRootPane.addNotify(JRootPane.java:757)
at java.awt.Container.addNotify(Container.java:2776)
at java.awt.Window.addNotify(Window.java:770)
at java.awt.Frame.addNotify(Frame.java:487)
at java.awt.Window.pack(Window.java:807)
at com.jamescho.game.main.GameMain.main(GameMain.)
这是cmd运行后的结果,有大佬帮忙看下出了什么问题吗?谢谢谢谢!!!!!!!