运行jetty报异常

叶健 2014-01-06 10:44:54
今天运行项目,然后就报了这样一大串异常:希望有人能帮我看看:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.

TransactionInterceptor#0': 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 file [D:\workspace\sjcj\target\classes\spring_core\applicationContext.xml]:

Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException:

Error creating bean with name 'sessionFactory' defined in file [D:\workspace\sjcj\target\classes\spring_core\applicationContext.xml]:

Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException:

Error creating bean with name 'dataSource' defined in file [D:\workspace\sjcj\target\classes\spring_core\applicationContext.xml]:

Invocation of init method failed; nested exception is javax.naming.NoInitialContextException:

Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:

java.naming.factory.initial
...全文
105 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

10,608

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 其他
社区管理员
  • 其他
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧