数据源没发现! Name [jdbc/mysql5] is not bound in this Context. Unable to find [jdbc].
2017-09-07 21:04
851 查看
配置连接池获取链接时报错
数据源没发现! Name [jdbc/mysql5] is not bound in this Context. Unable to find [jdbc].
之前在配置过tomcat的连接池,以为就此万事大吉.
原来每个web项目的Context中都要配置一下.
还有,一定要在eclipse里配置tomcat的context.xml和server.xml,因为每次从eclipse启动tomcat,eclipse中的配置文件都会覆盖tomcat原有的配置文件.
数据源没发现! Name [jdbc/mysql5] is not bound in this Context. Unable to find [jdbc].
之前在配置过tomcat的连接池,以为就此万事大吉.
原来每个web项目的Context中都要配置一下.
还有,一定要在eclipse里配置tomcat的context.xml和server.xml,因为每次从eclipse启动tomcat,eclipse中的配置文件都会覆盖tomcat原有的配置文件.
相关文章推荐
- Tomcat上配置连接池{ connect error=Name [jdbc/OracleDB] is not bound in this Context. Unable to find [jdbc]}
- Name [spring.liveBeansView.mbeanDomain] is not bound in this Context. Unable to find
- javax.naming.NameNotFoundException: Name [jdbc/lappJDBC] is not bound in this Context. Unable to fi
- javax.naming.NameNotFoundException: Name [comp/env] is not bound in this Context. Unable to find [co
- Tomcat 配置 JNDI数据源出现Name jdbc is not bound in this Context
- javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
- 解决javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
- javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
- Name jdbc is not bound in this Context
- 应对Name jdbc is not bound in this Context-----------我的一个总结
- javax.naming.NameNotFoundException: Name jdbcis not bound in this Context
- Name jdbc is not bound in this context
- Tomcat配置连接池 异常:javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
- javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
- 关于出现Name jdbc is not bound in this Context错误的解决
- javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
- Name jdbc is not bound in this Context
- javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
- javax.naming.NameNotFoundException:Name[ XXX] is not bound in this context.
- javax.naming.NameNotFoundException: Name jms is not bound in this Context