报错一:
Field redisCache in com.ruoyi.common.core.redisAop.CacheEnableAspect required a single bean, but 2 were found:
- redisTemplate: defined by method 'redisTemplate' in class path resource [com/ruoyi/framework/config/RedisConfig.class]
- stringRedisTemplate: defined by method 'stringRedisTemplate' in class path resource [org/springframework/boot/autoconfigure/data/redis/RedisAutoConfiguration.class]
原因:有两个名字相同类 解决方法:选择适合的类删除或者修改另一个的类名。
报错二:
Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'SysDept'. Cause: java.lang.ClassNotFoundException: Cannot find class: SysDept
原因:
解决方法:修改返回类型名称
```java
<select id="getPassAreaInfo" resultType="com.ruoyi.common.core.domain.fzys.reportmanagement.BusCarOperation">
关注持续更新。
|