0

I'm having a lot of issue's while running a executable jar I created.

First of all I got a lot of problems when I created the jar by the usual methode in eclipse (indigo). So I switched to the Fatjar plugin. This solved most problems.

But not all, I still have some issue's. For example :

enter image description here

The structure of my project is like this.

enter image description here

By the creation of the jar I all ready included the dir with the property files but he still doesn't find it?!

While running in eclipse I have no problems.

Any suggestions. Thx all.

Darth Blue Ray
  • 9,445
  • 10
  • 35
  • 48

1 Answers1

1

The file in jar is no more a File(to the filesystem), It is resource of jar, See how to load properties file from jar

Also See

Community
  • 1
  • 1
jmj
  • 237,923
  • 42
  • 401
  • 438