![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
hejiqiang666
这个作者很懒,什么都没留下…
展开
-
SpringBoot maven 使用占位符 ‘@’ 报错
SpringBoot maven多环境打包应用时application.yml 中spring: profiles: active: @profilesActive@报错:found character '@' that cannot start any token. (Do not use @ for indentation)在pom.xm 中添加<plugin> <groupId>org.apache.maven.plugins</gr...原创 2021-02-24 11:52:44 · 1304 阅读 · 0 评论 -
@RequestBody 和@RequestParam 的使用问题
1、@RequestBody注解,内部使用RequestResponseBodyMethodProcessor进行解析,此参数解析器用HttpMessageConverter将HttpMessage封装为具体的JavaBean对象。 @RequestBody 一般用于post请求,处理body体中的数据,headers中Content-Type 设置为 application/json或 application/xml,后端根据前端传输的数据结构使用自定义的实体类或者map接收。var ...原创 2020-10-26 16:16:47 · 1307 阅读 · 0 评论 -
springboot 配置 jasypt加密
第一步:pom.xml中引入依赖 <dependency> <groupId>com.github.ulisesbocchio</groupId> <artifactId>jasypt-spring-boot-starter</artifactId> <version>2.0.0</version> </depend...原创 2020-07-20 15:23:09 · 872 阅读 · 0 评论