随笔分类 - springboot
摘要:1) “File” -> “Settings” -> “Build,Execution,Deplyment” -> “Compiler”,选中打勾 “Build project automatically” 。 2) 组合键:“Shift+Ctrl+Alt+/” ,选择 “Registry” ,选中
阅读全文
摘要:SPRING BOOT工程打WAR包部署到TOMCAT后,日志和应用中设置的不同了,将日志配置文件名改成springboot推荐的默认名称后解决。如我用logback,日志配置文件名改为logback-spring.xml
阅读全文
摘要:package yinhu.yinhu.controller; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import org.springframework.beans.f
阅读全文
摘要:package yinhu.yinhu.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Async;
阅读全文
摘要:springboot亮点:不用配置tomcat springboot不支持jsp 准备:配置jdk 配置maven 访问https://start.spring.io/ 并生成自己的springboot zip 用eclipse file--import--maven--exist。。将生成的zip
阅读全文

浙公网安备 33010602011771号