|
@@ -429,7 +429,7 @@ public class DataSourceSettingFrame extends JFrame {
|
|
|
private void deleteYml(DataSourceConfig dataSourceConfig) throws Exception {
|
|
private void deleteYml(DataSourceConfig dataSourceConfig) throws Exception {
|
|
|
// 根据dataSourceConfigs修改yml
|
|
// 根据dataSourceConfigs修改yml
|
|
|
Yaml yaml = new Yaml();
|
|
Yaml yaml = new Yaml();
|
|
|
- File file = new File("src/main/resources/Application.yml");
|
|
|
|
|
|
|
+ File file = new File("resources/Application.yml");
|
|
|
String path = file.getAbsolutePath();
|
|
String path = file.getAbsolutePath();
|
|
|
if(file.exists()) {
|
|
if(file.exists()) {
|
|
|
try {
|
|
try {
|