jdbc.properties放在哪里
时间: 2024-04-02 18:15:22 浏览: 148
为了正确使用jdbc.properties文件,你可以将其放在resources目录下。你可以通过右键点击主文件夹,选择创建resources文件夹,并将jdbc.properties文件放入其中。然后,将resources文件夹标记为资源根目录,以便正确加载该文件。这样,你就可以在项目中正确访问和使用jdbc.properties文件了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [新版IDEA中配置文件的存放位置(jdbc.properties)](https://blog.csdn.net/jimanglai/article/details/109593919)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [解决jdbc.properties引用路径找不到文件的问题](https://blog.csdn.net/qq_43319748/article/details/115648072)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文