ji
解决方案:
private static Properties jdbc = new Properties();
static
{
FileInputStream in =
null
;
String path = Thread.currentThread().getContextClassLoader().getResource (
"jdbc.properties"
).getPath();
in =
new
FileInputStream(path);
jdbc.load(in);
提示错误 : jdbc.properties (系统找不到指定的文件。) [问题点数:40分,结帖人liangzhiliaoran]
加载文件提示错误 : jdbc.properties (系统找不到指定的文件。) [问题点数:40分,结帖人liangzhiliaoran]