Home > Back-end >  JAVAEE SRC directory path to the file below how to take?
JAVAEE SRC directory path to the file below how to take?

Time:10-29

The directory structure is like this



On my way to load druid. The properties of the time error, can not find the path
I don't inherit the Servlet this class, can't get the ServletContext, use this also not line, have what method?

CodePudding user response:

You to try "SRC/druid. Properties"

CodePudding user response:

reference 1/f, the small dream of big banyan tree response:
you change to "SRC/druid. Properties" try
or not

CodePudding user response:

You will get through this compilation? FileInputStream (name: "") a FileInputStream have any constructor like this, I see the didn't seem to make, you put the name:" * * * * * "the whole to try" SRC/druid. Properties"

CodePudding user response:

references of big banyan tree little dream reply:
you will get through this compilation? FileInputStream (name: "") a FileInputStream have any constructor like this, I looked as if no, you put the name:" * * * * * "the change" SRC/druid. Properties "try
I am ok, is that" name: "compiler put yourself up
  • Related