引入依賴: 在pom.xml文件裏添加devtools插件 ,添加true
IDEA配置修改:
1>點擊File–Settings–Build,Execution,Deployment–Compiler,然後再進行下圖所示的勾選。
2>使用快捷鍵Controller+Shift+A,輸入Registry,勾選compiler.automake.allow.when.app.running,點擊應用
3>重啓IDEA即可
引入依賴: 在pom.xml文件裏添加devtools插件 ,添加true
IDEA配置修改:
1>點擊File–Settings–Build,Execution,Deployment–Compiler,然後再進行下圖所示的勾選。
2>使用快捷鍵Controller+Shift+A,輸入Registry,勾選compiler.automake.allow.when.app.running,點擊應用
3>重啓IDEA即可
Spring boot 配置數據源 spring: mvc: favicon: enabled: false datasource: primary: username: root