随笔分类 -  springboot

摘要:1) “File” -> “Settings” -> “Build,Execution,Deplyment” -> “Compiler”,选中打勾 “Build project automatically” 。 2) 组合键:“Shift+Ctrl+Alt+/” ,选择 “Registry” ,选中 阅读全文
posted @ 2020-04-10 17:31 黑魔法os 阅读(2805) 评论(0) 推荐(1)
摘要:SPRING BOOT工程打WAR包部署到TOMCAT后,日志和应用中设置的不同了,将日志配置文件名改成springboot推荐的默认名称后解决。如我用logback,日志配置文件名改为logback-spring.xml 阅读全文
posted @ 2020-03-25 12:00 黑魔法os 阅读(2480) 评论(0) 推荐(0)
摘要:package yinhu.yinhu.controller; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import org.springframework.beans.f 阅读全文
posted @ 2020-03-23 13:22 黑魔法os 阅读(5345) 评论(0) 推荐(1)
摘要:package yinhu.yinhu.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Async; 阅读全文
posted @ 2020-03-23 12:43 黑魔法os 阅读(1130) 评论(0) 推荐(0)
摘要:springboot亮点:不用配置tomcat springboot不支持jsp 准备:配置jdk 配置maven 访问https://start.spring.io/ 并生成自己的springboot zip 用eclipse file--import--maven--exist。。将生成的zip 阅读全文
posted @ 2019-01-27 12:51 黑魔法os 阅读(200) 评论(0) 推荐(0)