paip.proxool连接池 :Attempt to refer to a unregistered pool by its alias 'xx'
to 39 by 连接池 paip Pool XX
2023-09-14 09:03:38 时间
paip.proxool连接池 :Attempt to refer to a unregistered pool by its alias 'xx'
作者Attilax 艾龙, EMAIL:1466519819@qq.com
来源:attilax的专栏
地址:http://blog.csdn.net/attilax
proxool-0.9.1
resin4
原因,没有加载proxool.xml
try {
JAXPConfigurator.configure("C:\\Users\\Administrator\\Workspaces\\MyEclipse 8.5\\homiSearchServer\\resource\\proxool.xml", false);
} catch (ProxoolException e1) {
e1.printStackTrace();
}
ApplicationContext act=new FileSystemXmlApplicationContext("classpath:applicationContext.xml");
MoodUserIndexService moodUserService= (MoodUserIndexService) act.getBean("moodUserIndexService");
System.out.println(moodUserService);
参考
读取WEB.XML中的参数值总结
proxool连接池问题解决方案:Attempt to refer to a unregistered pool by its alias 'test'(test是连接池的别名) - 靠天靠地不如靠自己 - 博客频道 - CSDN.NET.htm
Java应用中使用Proxool - 熔 岩 - 51CTO技术博客.htm
相关文章
- linux git 报错提示 fatal: 'origin' does not appear to be a git repository 解决办法
- WampServer64提示You don't have permission to access
- 'yiibaseInvalidRouteException' with message 'Unable to resolve the request "site/error".'
- Failed to create AppDomain 'xxx'. Exception has been Failed to create AppDomain
- MySQL server version for the right syntax to use near 'TYPE=MyISAM'
- Attempt to write to field 'android.support.v4.app.FragmentManagerImpl android.support.v4.app.Fragment.mFragmentManager' on a null object reference
- [Javascript] How to use JavaScript's String.replace
- [服务器时区问题]PHP Warning: strftime(): It is not safe to rely on the system's timezone set
- 以root权限执行python时候脚本时候报错“ExtractionError: Can't extract file(s) to egg cache”
- GVM 21.4.3 Failed to find port_list '33d0cd82-57c6-11e1-8ed1-406186ea4fc5'
- MYSQL错误解决:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
- 'MySQLConverter' object has no attribute '_navigablestring_to_mysql'
- centos ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
- Bean named 'XXX' is expected to be of type [com.***.XXX] but was actually of type [com.sun.proxy.$Proxy*]
- java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.love5/com.example.love5.Main11Activity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.
- Mysql 错误 ERROR 1 (HY000) at line 1: Can't create/write to file '/home/kaizenly/cfg_dict.csv' (Errcode: 13 - Permission denied)