package com.test; import org.springframework.context.support.GenericXmlApplicationContext; import com.service.UserService; public class Main { public static void main(String[] args) throws InterruptedException { GenericXmlApplicationContext context = new GenericXmlApplicationContext(); context.setValidating(false); context.load("classpath*:applicationContext*.xml"); context.refresh(); UserService userService = context.getBean(UserService.class); while (true) { System.out.println(userService.findUser()); Thread.sleep(10000); } } }

zhangqiao951 LV1
2023年11月28日
yun99 LV2
2023年10月31日
100941622 LV1
2021年10月26日
鸦葱 LV4
2021年6月11日
erkai0515 LV1
2020年8月16日
PerryQiu LV3
2020年4月7日
709967 LV1
2020年1月7日
gaoyuan126 LV1
2019年9月8日
testadmin1 LV1
2019年5月21日
zxc123457 LV1
2019年2月28日