已采納回答 / Jimmy001
你這個(gè)路徑不對(duì),helloworld.java要在E://跟目錄下才能編譯,否則要進(jìn)到helloworld.java的目錄,cd e://xxx/xx/
2017-06-16
最贊回答 / s41253047
放在 src/main/resources/ 文件夾里(沒(méi)有該目錄就新建一個(gè)); target 目錄里面是 編譯后自動(dòng)生成的字節(jié)碼。
2017-05-21
最新回答 / loness
可以將代碼改成```? ? public static Connection getConnection() throws IOException, SQLException, ClassNotFoundException {? ? ? ? InputStream is = JDBCUtil.class.getResourceAsStream("/db.properties");? ? ? ? Properties properties = new Properties();? ? ? ? propert...
2017-05-10