搬砖中的小事之代码(二)--报错Consider defining a bean of type...in your configuration
2017-05-09 17:00
197 查看
说我的Controller里面找不到这个接口,可是我检查了,明明有注入的;
报错信息:
Consider defining a bean of type ‘com.hkjr.ko.remote.AliPayRemote’ in your configuration.
1)检查AliPayRemote这个类是否存在;
2)检查一下那个Service类是否没加注解@Service
3)检查一下代码,再检查一下代码
——完成上述步骤,基本可以解决Controller里面找不到接口信息;
报错信息:
Consider defining a bean of type ‘com.hkjr.ko.remote.AliPayRemote’ in your configuration.
1)检查AliPayRemote这个类是否存在;
2)检查一下那个Service类是否没加注解@Service
3)检查一下代码,再检查一下代码
——完成上述步骤,基本可以解决Controller里面找不到接口信息;
相关文章推荐
- phpMyAdmin 表底部出现 Connection for controluser as defined in your configuration failed.
- Connection for controluser as defined in your configuration failed.
- spring boot Consider defining a bean of type 'org.project.entity.Person' in your configuration.
- 搬砖中的小事之代码(九)--改进八的客户编码随机串的生成方法
- 搬砖中的小事之代码(八)--客户编码6位数的随机串的生成和登记时间的生成
- Customize web.config sections and register your own configuration then get values in asp.net
- Consider defining a bean of type 'com.taikang.service.ChongyGameInfoService' in your configuration.
- 搬砖中的小事之工具(三)--Eclipse报错The default workspace“xxxx” is in use or cannot be created Please choose...
- 搬砖中的小事之代码(五)--maven项目的各种异常以及解决办法
- Consider defining a bean of type ‘tk.mybatis.mapper.common.Mapper’ in your configuration.
- 解决A master URL must be set in your configuration错误
- Connection for controluser as defined in your configuration failed.
- 95 The SQL Tuning Advisor configuration has default settings in your database instance. Which recomm
- No MyBatis mapper was found in 'XXX' package. Please check your configuration
- 搬砖中的小事之代码(一)--枚举
- ubuntu 下解决phpmyadmin error: “Connection for controluser as defined in your configuration failed”
- Connection for controluser as defined in your configuration failed phpmyadmin xampp
- A master URL must be set in your configuration at org.apache.spark.SparkContext.<init>(SparkContext.
- 搬砖中的小事之代码(六)--列表显示的字段与数据库中字段类型不匹配,需要在查询后进行简单转换
- 运行 Spark错误 A master URL must be set in your configuration