You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Carlos Cruz <ca...@nbtbizcapital.com> on 2017/03/28 19:33:22 UTC

DBConnection.class.getResourceAsStream returns null

Hi;

Anyone know off hand why this call returns "null" just under ofbiz?
InputStream in =
DBConnection.class.getResourceAsStream("/com/ccradius/utils/app.properties")
;

 

It's for an app in hotdeploy directory I get the same problem with OFBiz 12
and 15.

 

At first I thought it might be something to do with the URI mappings, but it
isn't.

 

Thx

Carlos