控制台报错Name [xxx] is not bound in this Context. Unable to find [xxx].怎么处理?

当我们启动web项目时,控制台报错:Name [blog] is not bound in this Context. Unable to find [blog]. 大概率是因为从命名目录接口中根据资源查询的连接名与连接池JDNI容器里的名字不一致,

把他改成一致的名字就可以了

 

控制台报错Name [xxx] is not bound in this Context. Unable to find [xxx].怎么处理?

 

 

具体步骤:打开你服务器Servers下面的context.xml文件,找到你的连接资源的连接名,把它改成与DBHelper的连接协议的连接名一致,就不会报这个错误了

 控制台报错Name [xxx] is not bound in this Context. Unable to find [xxx].怎么处理?

 

 

控制台报错Name [xxx] is not bound in this Context. Unable to find [xxx].怎么处理?

 

控制台报错Name [xxx] is not bound in this Context. Unable to find [xxx].怎么处理?

上一篇:请问如何等待异步API调用返回结果后再将结果返回给主进程?


下一篇:NETSH WINSOCK RESET这条命令的含义和作用?