spring3.x与hibernate整合 出的错误,不知道是不是因为jar包得问题,搞了半下午也没搞出来。
org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'use...
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in file [E:\java\eclipse\workspace\Spring_1800_Spring_Hibernate_Transaction_Annotation3\bin\com\kstc\service\UserService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.kstc.service.UserService]: Common causes of this problem include using a final class or a non-visible class; nested exception is net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询