carrie2114 2019-11-21 13:54 采纳率: 0%
浏览 1122

Spring 下bean的注入,注解注入时运行测试类出错javax.annotation.ManagedBean' found and supported for component scanning

十一月 21, 2019 1:46:01 下午 org.springframework.context.support.ClassPathXmlApplicationContext prepareRefresh
信息: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@5679c6c6: startup date [Thu Nov 21 13:46:01 CST 2019]; root of context hierarchy
十一月 21, 2019 1:46:01 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [com/sun/annotation/applicationContext.xml]
十一月 21, 2019 1:46:01 下午 org.springframework.context.annotation.ClassPathBeanDefinitionScanner registerDefaultFilters
信息: JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning

  • 写回答

2条回答 默认 最新

  •  云书墨 2019-11-21 16:35
    关注

    继续往下面报错的数据看下去,javax.annotation.ManagedBean',可能下面还有,这个是诸如数据的时候出错了,你看下你这个引用的类在哪,是否已经引入,如果下面还有报错就一直看下去,报这个错的根本原因就是没有这个引入的依赖,或者没有这个类

    评论

报告相同问题?

悬赏问题

  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法
  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图