在Spring学习时遇到的报错类型:
Exception in thread “main” java.lang.ClassCastException: class com.jiang.daoimpl.BookDaoImpl cannot be cast to class com.jiang.serviceImpl.BookServiceImple (com.jiang.daoimpl.BookDaoImpl and com.jiang.serviceImpl.BookServiceImple are in unnamed module of loader ‘app’)
at com.jiang.AppForName.main(AppForName.java:10)
发现并解决:
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)