特牛生活网

javax.naming.NameNotFoundException: Name jdbc is not bound in this Context_nested exception is javax.naming,namenotfoundexcep_xinlianluohan的博客-CSDN博客

网友收藏
  • 链接地址:https://gaodengwen.blog.csdn.net/article/details/120931776
  • 链接标题:javax.naming.NameNotFoundException: Name jdbc is not bound in this Context_nested exception is javax.naming,namenotfoundexcep_xinlianluohan的博客-CSDN博客
  • 所属网站:gaodengwen.blog.csdn.net
  • 被收藏次数:8936
文章浏览阅读4.8k次。这个错误的原因是没有项目使用到了Tomcat中配置的数据源(但是你本地没有配置),关于什么是JNDI看这篇文章就够了®  今天导入一个项目(比较老的),在本地运行时报错; Cannot resolve reference to bean 'apwhatsupDS1' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationE..._nested exception is javax.naming,namenotfoundexception