I've been using to JarSplice to put all of my Jars of one project into one big Jar for a while now, and had no problems.
And then, when I tried to use it today, I recieved no error messages in the program itself, but then my program wouldn't run. When I tried to run it through the CMD, I recieved the following:
Code:
C:\TakeFlight>java -jar GeorgeTakesFlightv2.jar
Wed Jul 11 12:03:11 BST 2012 INFO:Slick Build #274
Wed Jul 11 12:03:11 BST 2012 INFO:LWJGL Version: 2.8.4
Wed Jul 11 12:03:11 BST 2012 INFO:OriginalDisplayMode: 1366 x 768 x 32 @60Hz
Wed Jul 11 12:03:11 BST 2012 INFO:TargetDisplayMode: 800 x 600 x 0 @0Hz
Wed Jul 11 12:03:12 BST 2012 INFO:Starting display 800x600
Wed Jul 11 12:03:12 BST 2012 INFO:Use Java PNG Loader = true
Wed Jul 11 12:03:12 BST 2012 INFO:Controllers not available
Exception in thread "main" java.lang.RuntimeException: Resource not found: res/t
akeFlightEXIT.png
at org.newdawn.slick.util.ResourceLoader.getResourceAsStream(ResourceLoader.java:69)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:169)
at org.newdawn.slick.Image.<init>(Image.java:196)
at org.newdawn.slick.Image.<init>(Image.java:170)
at org.newdawn.slick.Image.<init>(Image.java:158)
at org.newdawn.slick.Image.<init>(Image.java:136)
at george.game.takeflight.Menu.init(Menu.java:31)
at george.game.takeflight.Game.initStatesList(Game.java:23)
at org.newdawn.slick.state.StateBasedGame.init(StateBasedGame.java:164)
at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:390)
at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:314)
at george.game.takeflight.Game.main(Game.java:33)
I don't know how to solve this, as I can't see any problems with the PNGs. It's also not just that one image, it doesn't seem to be able to find any of them.
Thanks!