这个错误
Error creating bean with name ‘projectingArgumentResolverBeanPostProcessor’
发生的原因:切入点错误

@Aspect
@Component
public class ModelViewAspect {//设置切入点:这里直接拦截被@ModelView注解的方法@Pointcut("@annotation(com.example.mytoken.config.exception.ModelView)")public void pointcut() { }/*** 当有ModelView的注解的方法抛出异常的时候,做如下的处理*/@AfterThrowing(pointcut="pointcut()",throwing="e")public void afterThrowable(Throwable e) {if(e instanceof  CustomException){throw ModelViewException.transfer((CustomException) e);}}
}

SpringBoot启动报错Error creating bean with name 'projectingArgumentResolverBeanPostProcessor'相关推荐

  1. SpringBoot启动报错Error creating bean with name 'xx': Unsatisfied dependency expressed through field xx

    错误如下: 2020-05-11 08:55:21.333 WARN 937516 --- [ main] ConfigServletWebServerApplicationContext : Exc ...

  2. activiti-explorer 启动报错 Error creating bean with name 'demoDataConfiguration'

    来源:http://blog.csdn.net/huangning2/article/details/9247099 Activiti database setup As said in the on ...

  3. 启动springboot报错Error creating bean with name 'dataSource' defined in class path resource

    2019独角兽企业重金招聘Python工程师标准>>> 启动springboot报错Error creating bean with name 'dataSource' define ...

  4. 【踩坑日记】springboot项目启动报错error create bean with name

    前言 启动springboot项目报错error create bean with name xxx 以为是哪个bean没有装配上,排查了所有的bean,发现都装配了 原因分析 仔细看了报错日志,发现 ...

  5. nacos的feign报错Error creating bean with name ‘configurationPropertiesBeans‘ defined in class path reso

    nacos的feign报错Error creating bean with name 'configurationPropertiesBeans' defined in class path reso ...

  6. springboot启动报错Error:Kotlin: Module was compiled with an incompatible version of Kotlin

    springboot 启动报错 报错内容: Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The ...

  7. springboot 启动的时候报错 Error creating bean with name 'solrClient'

    springboot 启动的时候报错: org.springframework.beans.factory.BeanCreationException: Error creating bean wit ...

  8. 记一次SpringBoot操作redis报错 Error creating bean with name ‘dataSource‘ defined in class path resource解决方法

    代码块 以下为Springboot操作Redis一些简单的测试代码 maven依赖 <dependency><groupId>org.springframework.boot& ...

  9. springboot(原先是mybatis)整合mybatis-plus,注入报错Error creating bean with name 'sqlSessionFactory'

    Error creating bean with name 'sqlSessionFactory' Caused by: java.lang.ClassNotFoundException: org.m ...

最新文章

  1. atitit.android模拟器使用报告
  2. Ubuntu中Apache修改DocumentRoot(修改网站根目录)
  3. 杭电 汉诺塔问题总结
  4. dbvis 数据库工具:数据库驱动集合包获取,dbvis数据库工具安装驱动实例演示
  5. geopy 在python中的使用
  6. 是什么专业_自考什么专业容易就业
  7. c语言标准输入输出ppt,c语言输入输出语句PPT
  8. IDEA下搜狗输入法输入中文时卡着不动的参考解决方法
  9. php查到的内容追加到html,javascript - 请问php中如何将查询出来的结果数组转化成自己想要的格式,并在前台利用js输出到html中...
  10. vaex 处理海量数据_Vaex真香!几秒钟就能处理数十亿行数据,比Pandas、Dask更好用...
  11. Windows Edge 下载软件被检测到病毒无法下载
  12. Guthrie QA-CAD2019(CAD绘图修订管理工具)A.04中文版
  13. 史上最全的工业相机CCD/CMOS靶面尺寸规格说明
  14. JAVA 根据商品属性生成(SKU)规格算法
  15. 网络打印机计算机服务,如何把局域网中的所有计算机及打印机设置共享?
  16. 跨境电商运营如何做好推特广告
  17. HDU 5055 Bob and math problem(构造)
  18. redis安装和启动
  19. Cuba 设置studio的主题
  20. 贝叶斯统计 韦来生 课后题答案 第四章

热门文章

  1. 《花开半夏》--5 脚步(2)
  2. 计算机网络安全手抄报一等奖,网络安全手抄报简单又好看
  3. 单轴快排(SinglePivotQuickSort)和双轴快排(DualPivotQuickSort)及其JAVA实现
  4. ubuntu18.04无法上网的解决办法
  5. python小海龟画粗细渐变的线_Python 笔记_第一篇_童子功_8. 画图工具 (小海龟 turtle)...
  6. 【统计学】贝叶斯推理方法
  7. 适配器模式——双向适配器
  8. 机器学习及深度学习中的符号说明
  9. hnu实验七字符串7. 音乐DJ和回响贝斯
  10. jsp之JDBC连接数据库MySQL