IllegalArgumentException: error Type referred to is not an annotation type:
1. 报错问题
在配置自定义注解的时候,报错了
IllegalArgumentException: error Type referred to is not an annotation type: orgspringframeworkspringframeworkspringframeworkwebbindbindbindannotation$PermissionAnnotation
当时直接复制上方postmapping注解方式,在注解包名上单单把Postmapping替换为PermissionAnnotation,
2. 解决措施
查看PermissionAnnotation包名后改过来
修改正确的包路径名就可以了
IllegalArgumentException: error Type referred to is not an annotation type:相关推荐
- 成功解决Type Error: can‘t multiply sequence by non-int of type ‘float‘
成功解决Type Error: can't multiply sequence by non-int of type 'float' 目录 解决问题 解决思路 解决方法 解决问题 File " ...
- kafka 报错: IllegalArgumentException: Error creating broker listeners from ‘PLAINTEXT:xxx.xxx.xxx.xx
当卡夫卡集群配置好以后 发现进程老是起不来 查看日志srever.log 错误为 IllegalArgumentException: Error creating broker listeners ...
- error: ‘uint8_t’,‘uint16_t’ ,‘uint32_t’ does not name a type
阅读前请看一下:我是一个热衷于记录的人,每次写博客会反复研读,尽量不断提升博客质量.文章设置为仅粉丝可见,是因为写博客确实花了不少精力.希望互相进步谢谢!! 文章目录 阅读前请看一下:我是一个热衷于记 ...
- 响应式编程时出现:error TS2339: Property 'debounceTime' does not exist on type 'Observableany'.
constructor() {this.searchInput.valueChanges//.debounceTime(500) 无法使用.pipe(debounceTime(1000)).subsc ...
- ERROR: cannot launch node of type [map_server/map_server]: Cannot locate node of type [map_server]
ERROR: cannot launch node of type [map_server/map_server]: Cannot locate node of type [map_server] i ...
- 报错解决:Ubuntu插入硬盘不能挂载,Error mounting /dev/sdb1 at /media/×××/×××: unknown filesystem type ‘exfat’
报错解决:Ubuntu插入硬盘不能挂载,Error mounting /dev/sdb1 at /media/×××/×××: unknown filesystem type 'exfat' 报错 报 ...
- Link Error : L1907: Fixup overflow in _FSTRUNC, to F_TOLONGK type 3, at offs
CodeWorrior编译出现如下错误: Link Error : L1907: Fixup overflow in _FSTRUNC, to F_TOLONGK type 3, at offs 现象 ...
- Error: TS Error: Subsequent variable declarations must have the same type. Variable ‘beforeEach‘ mus
Error: TS Error: Subsequent variable declarations must have the same type. Variable 'beforeEach' mus ...
- 注解类型异常:@ComponentScan ANNOTATION type filter requires an annotation typ
遇到bug是这样的: Caused by: java.lang.IllegalArgumentException: @ComponentScan ANNOTATION type filter requ ...
- Flutter-解决Try catch出现异常:type ‘_TypeError‘ is not a subtype of type ‘Exception‘ in type cast
文章目录 出现场景 解决方案 分开处理(推荐) 判断类型 出现场景 使用Dio时,网络请求可能会出现异常,需要用try catch捕获. 捕获代码如下 try {var response = awai ...
最新文章
- 【Mysql 学习路线图】
- Spring MVC文件上传
- 预习-上课-复习:让机器像人一样学习对话
- 《KyLin学习理解》-01-KyLin麒麟的简介及其思想
- 如何快速演变XMind文件
- @Controller
- 不管是蓝牙耳机还是有线耳机长时间佩戴都是有危害的,这些问题不容小觑!
- sql 查找重复值,整行重复
- ICPC2017沈阳赛区游记
- 科创板拟上市企业申联生物和传音控股已提交注册
- AI万物生成技术,颠覆内容传统创作模式 | iBrandUp 职位内推
- 在Windows上挂载磁盘为非445端口的SAMBA服务(原创)
- SAP-GR/IR的理解
- 北京律师事务所名称大合集
- c语言二级安卓软件,C语言二级考试题库
- Maven was cached in the local repository, resolution will not be reattempted until the update interv
- 数据分析在一个企业中起到哪些关键性作用?
- 1、软件测试-基础知识
- python程序计时_python如何计时
- 理论:MySQL数据库