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 ...
最新文章
- 南大电子机器人入驻云南_云南大学外语协会 英文歌曲演唱比赛
- Nginx upstream的几种分配方式
- 要求输入框里面必须同时含有字母,数字,特殊字符,且不小于8位
- oracle 查看表属主和表空间sql
- Ajax Get请求获取后台返回的数据
- 通过data目录恢复数据库数据(mysql5.7.22)
- STM8 ADC转换模式-------带缓存的连续模式
- Webstorm全版本汉化包
- 开发软件安装教程-MATLAB2016b安装教程图解
- Oracle 数据库限制IP地址连接
- 十六进制、二进制转换以及练习
- linux安装so共享动态库文件下载,linux下的共享库(动态库)和静态库
- 无线局域网怎么设置,更加安全?
- 用c# 实现一个爬虫
- 阴历转阳历java_GitHub - opprime/calendarist: 一个可实现阳历、阴历、干支历间相互转换的JAVA工具...
- 小白菜快速上手 Docker
- VOT-toolkit Python 版本使用教程--官方样例版
- 03-MapStruct-基本的映射方法
- Linux驱动_i2c驱动(ap3216c)
- PullScrollView详解(六)——延伸拓展(listview中getScrollY()一直等于0、ScrollView中的overScrollBy)
热门文章
- Java证书keystore生成过程
- 最优传输论文(十七):Sinkhorn Distances: Lightspeed Computation of Optimal Transport论文原理
- Windows 自带计算器的使用
- [CTF]天下武功唯快不破
- 支付宝推出信用租房 醉翁之意不在酒?
- python统计词频并进行可视化显示_python统计词频
- win10远程桌面_怎么选择Win10系统版本?家庭版与专业版的对比介绍
- 2015 沈阳 Frogs
- 设置在线html视频几倍数播放,HTML5倍数功能视频播放器(加速2倍,1.5倍播放)...
- 韩天峰 - Swoole4-全新的PHP编程模式