
spring + mybatis 数据源改为jndi是项目启动报错
org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'dat...
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in URL [file:/E:/Tomcat/apache-tomcat-6.0.37/webapps/web-prime/WEB-INF/classes/config/spring/applicationContext.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name jndi is not bound in this Context
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询