org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot create inner bean '(inner bean)' of type [org.springframework.transaction.interceptor.TransactionInterceptor] while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in ServletContext resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: Ljavax/transaction/TransactionManager;
不知道哪里调用了:Ljavax/transaction/TransactionManager;我想实际上应该上调用javax/transaction/TransactionManager;前面多了一个“L”。先把问题放这里吧,我把petclinic调试成功之后,也许答案就出来了。这个问题我花了一个白天+一个晚上 没解决,真是有点郁闷。
评论
发表评论

您还没有登录,请登录后发表评论

keete
搜索本博客
最近加入圈子
存档
最新评论