![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
if_you_can_please_do
多年Java搬砖经验,由于生活所迫接点小私活,欢迎私信~~
展开
-
集成@EnableAsync后出现问题的记录
springboot 集成@EnableAsync后 报错 ERROR o.s.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'matchA...原创 2020-03-03 10:35:10 · 630 阅读 · 0 评论 -
springboot mvn打包本地jar
在pom.xml中加入以下内容使用install命令即可打包成功. <build> <resources> <resource> <directory>${project.basedir}/lib</directory> <targetPath>BOOT-INF/lib/</targetPa转载 2017-12-20 16:43:24 · 295 阅读 · 0 评论 -
springboot中通过cors协议解决跨域问题
@SpringBootApplication public class Application extends WebMvcConfigurerAdapter { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping(&amp;amp;amp;quot;/**&amp;amp;amp;quot;).allowedMethods(...原创 2018-07-23 11:27:41 · 653 阅读 · 0 评论 -
idea配置springboot远程调试
pom配置 <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> ...转载 2019-04-11 15:30:08 · 159 阅读 · 0 评论