ITeye博客

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

hellostory · 2010-12-08 11:34 · Markdown

解决方法:

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

改为:

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。