java.lang.RuntimeException: Resource not found: data/maps/desert.tmx

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Game Development by mbreen
, 1 year ago
Resource not found: data/maps/desert.tmx
via Stack Overflow by mbreen
, 2 years ago
Resource not found: data/maps/desert.tmx
via Stack Overflow by Marcin
, 1 year ago
Resource not found: Pajak/chodzenie/1.png
via Stack Overflow by Imnotanerd
, 2 years ago
Resource not found: C:\Users\Andrew\workspace\SirSlime\data\images\lang.jpg
via Stack Overflow by user2104992
, 2 years ago
Resource not found: testdata/alphamap.png
via Stack Overflow by thatJavaNerd
, 2 years ago
Resource not found: res/playNow.png
java.lang.RuntimeException: Resource not found: data/maps/desert.tmx
at org.newdawn.slick.util.ResourceLoader.getResourceAsStream(ResourceLoader.java:69)
at org.newdawn.slick.tiled.TiledMap.(TiledMap.java:101)
at game.Game.init(Game.java:17)
at game.Tunneler.initStatesList(Tunneler.java:37)
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 game.Tunneler.main(Tunneler.java:29)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.