`
hellostory
  • 浏览: 124851 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

阅读更多

解决方法:

将applicationContext.xml中的数据源配置:

改为:

说明:这里使用Tomcat提供的JNDI,且其配置文件放在web工程的“META-INF/context.xml”文件中

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics