paip.proxool连接池 :Attempt to refer to a unregistered pool by its alias 'xx'
作者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);
参考