2-7验证Dao错误

来源:2-7 验证Dao

慕村3357761

2020-02-28

警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.mywork.o2o.util.EncryptPropertyPlaceholderConfigurer] for bean with name ‘com.mywork.o2o.util.EncryptPropertyPlaceholderConfigurer#0’ defined in class path resource [spring/spring-dao.xml]; nested exception is java.lang.ClassNotFoundException: com.mywork.o2o.util.EncryptPropertyPlaceholderConfigurer

写回答

1回答

翔仔

2020-02-29

同学好,在没有解决相关问题的能力之前,不建议直接复制粘贴最终源码里面的配置,而还是用现阶段没有完善的代码,否则解决了这个问题,还会遇到各种各样难以解决的莫名其妙的问题。这里主要是你用了最终配置,但是代码里面此时还没有实现加密的类,所以会报错

1
1
慕村3357761
非常感谢!
2020-02-29
共1条回复

Java双版本(SSM到SpringBoot)校园商铺全栈开发

SSM商铺V1.0,解决毕设痛点;SpringBoot商铺V2.0,满足工作刚需

5134 学习 · 8152 问题

查看课程

相似问题