public static void main(String[] args) throws Exception {
String[] paths = {"classpath:/applicationContext-resources.xml",
"classpath:/applicationContext-dao.xml",
"classpath:/applicationContext-service.xml",//jar
"classpath*:/applicationContext.xml"};//web
ApplicationContext context = new ClassPathXmlApplicationContext(paths);
velocityEngine = (VelocityEngine)context.getBean("velocityEngine");
wtcManager = (WTCManager)context.getBean("wtcManager");
test3();
}