EXCEPTION-TOMCAT

CreateTime--2016年10月24日16:22:12
Author:Marydon
声明:异常类文章主要是记录了我遇到的异常信息及解决方案,解决方案大部分都是百度解决的,(这里只是针对我遇到的做个汇总),特此声明!
异常一:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceOracle' defined in class path resource [base/conf/spring/spring-base-dao-conf.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name [xb_base] is not bound in this Context. Unable to find [xb_base].

原因:
  tomcat的server.xml文件未配置数据库连接池

 

posted @ 2017-03-09 10:41  Marydon  阅读(225)  评论(0编辑  收藏  举报