Attempt to refer to a unregistered pool by its alias 'xxx'

来源:互联网 发布:山西省大数据产业协会 编辑:程序博客网 时间:2024/06/06 02:55

晚上在弄proxool的时候,不想开网页测试,就直接在一个main方法里面做。结果就报了这个错。百度之,发现了一篇好文章,讲的就是这个错的各种类型。

记录下:

http://blog.csdn.net/qq799499343/article/details/8625100


通过   

   conn=DriverManager.getConnection("proxool.别名:driver:url","用户名","密码");      
解决,ok.
 

0 0
原创粉丝点击