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
spring创建aop初始化问题
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
2条回答 默认 最新
- CSDN专家-sinJack 2021-10-03 13:12关注
可能存在依赖冲突。
下载一个Maven Helper插件,可以查看依赖冲突问题。本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报