You did not forget to include it in the assembly?
Secondly, using a class loader resource is probably better anyway
InputStream fileStream = myClass.getResourceAsStream( "/config.properties" );
In addition, there is another way to open a resource URL in eclipse using
url = new URL("platform:/plugin/com.example.plugin/config.properties"); InputStream inputStream = url.openConnection().getInputStream();
source share