(I am using IntelliJ Idea)
Then I build project and run usually all works good. But then I build jar and run it, this appears.
Exception in thread "main" com.jme3.asset.AssetNotFoundException: test.png
at com.jme3.system.JmeDesktopSystem.showSettingsDialog(JmeDesktopSystem.java:150)
at com.jme3.system.JmeSystem.showSettingsDialog(JmeSystem.java:155)
at com.jme3.app.SimpleApplication.start(SimpleApplication.java:120)
at com.alexwayles.obama.Main.main(Main.java:21)
src/main/resources should be automatic, though. So it’s weird if it’s not being picked up in the jar.
Edit: also weird that the exception is in the JME settings dialog. I feel like maybe we are still missing some information or the test code shown is not the real test code.