javax.naming.NameNotFoundException: Name [jdbc/inscloud] is not bound in this Context. Unable to find [jdbc].

Tomcat javax.naming.NameNotFoundException: Name [jdbc/inscloud] is not bound in this Context遇到这个问题的时候,是spring的DataSource找不到jndi。

解决方法:

Tomcat javax.naming.NameNotFoundException: Name [jdbc/inscloud] is not bound in this Context

context.xml配置文件里面知道一下dbcp为:

factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"

相关文章:

  • 2022-12-23
  • 2021-12-11
  • 2021-12-05
  • 2022-01-07
  • 2022-12-23
  • 2022-01-08
  • 2021-09-20
  • 2021-04-11
猜你喜欢
  • 2021-07-01
  • 2021-12-30
  • 2022-01-04
  • 2022-12-23
  • 2021-09-23
  • 2022-12-23
  • 2021-06-27
相关资源
相似解决方案