![240](https://cdn2.jianshu.io/assets/default_avatar/3-9a2bcc21a5d89e21dafc73b39dc5f582.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
設(shè)置### log4j.rootLogger = debug,stdout,D,E 輸出信息到控制抬 log4j.appender.stdout...
REDIS (Redis 配置) 連接工廠使用的數(shù)據(jù)庫索引 spring.redis.database= 0 Redis服務(wù)器主機 spring...
1蜓斧、整合jsp的項目需要變成.war包之前spring boot默認(rèn)自帶一個內(nèi)置的tomcat抢腐,不需要打war包畴蒲,直接通過Jar即可運行劲室。但是如...
spring boot不支持使用動態(tài)資源仿耽,JSP不支持岩榆,推薦使用模板引擎,可以和jsp等價一、引入模板引擎thymeleaf網(wǎng)頁= 模板+數(shù)據(jù)s...
1恭金、STS-> File -> New Spring Starter Project 自動聯(lián)網(wǎng)Service URL : http://star...
一.外部配置文件及加載1.在application.properties中添加server.servlet.context-path=/boot...
1.多環(huán)境的切換(profile)a.properties文件切換默認(rèn)boot會讀取application.properties環(huán)境操禀,多個怎么命...
@Conditional擴展注解 作用@ConditionalOnJava ...
一 系統(tǒng)默認(rèn)的配置文件1.application.properties格式:k=vserver.port=8888 2.application....