liaoyi11
2021-10-02 08:05
采纳率: 91.3%
浏览 34
已结题

spring创建aop初始化问题

org.springframework.context.support.AbstractApplicationContext refresh
警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'user' defined in file [D:\ssm\spring5\spring\target\classes\com\itcast\cn\aopanno\User.class]: Initialization of bean failed; nested exception is java.lang.ExceptionInInitializerError
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'user' defined in file [D:\ssm\spring5\spring\target\classes\com\itcast\cn\aopanno\User.class]: Initialization of bean failed; nested exception is java.lang.ExceptionInInitializerError

  • 好问题 提建议
  • 收藏

2条回答 默认 最新

  • CSDN专家-sinjack 2021-10-03 13:12
    已采纳

    可能存在依赖冲突。
    下载一个Maven Helper插件,可以查看依赖冲突问题。

    评论
    解决 无用
    打赏 举报
  • 查看更多回答(1条)

相关推荐 更多相似问题