自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 常用注解集合

Springboot常用注解@Controller、@Repository、@Service、@Component@Controller:控制层使用@Service:service层使用@Repository:dao层使用@Component:组件这四个注解效果都是一样的,标识这个类成为了一个IOC容器中的Bean工厂,使用这些注解后就不需要再去springmvc中手动配置bean文件@ResponseBody加了这个注解之后控制器返回的字符串则就只是普通的字符串,不会再进行页面跳转了@R

2023-05-11 18:03:45 148 1

原创 openfeign远程调用接口报错:feign.codec.DecodeException: Error while extracting response for type

错误信息:feign.codec.DecodeException: Error while extracting response for type [java.util.List<xxxx.xxxx..UserComponentRes>] and content type [application/json;charset=UTF-8]; nested exception is org.springframework.http.converter.HttpMessageNotReadable

2021-11-18 15:14:43 14921 5

原创 ie浏览器可正常访问,谷歌浏览器登入后被要求重新登入the set-cookie had to have been set with “sameSite=None“

ie浏览器可正常访问是因为登入后jsessionid一致,谷歌浏览器每次请求新接口后jsessionid就被修改,所以被要求重新登入。处理方式:参考:https://blog.csdn.net/aoshilang2249/article/details/107687791修改完SameSite属性和secure属性后将tomcat设置为https访问即可。applicayion.yml配置:#使用自治SSL证书,将tomcat改为https访问(测试使用)#cookie的secure属性属性.

2021-11-04 11:37:02 808

原创 SpringBoot多模块项目报错Invalid bound statement

SpringBoot多模块项目报错Invalid bound statement (not found) xxxservice@SpringBootApplication(scanBasePackages = “com.baidu”)//@MapperScan(basePackages=“com.baidu”),报错Invalid bound statement (not found),解决方式如下:,配置到具体的dao层@MapperScan(“com.baidu.jindian.dao”)pu

2021-10-22 10:57:45 752

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除