webservice不在spring容器中,所以NullPointerException
使用ContextLoaderListener.getCurrentWebApplicationContext().getBean(HelloWorld.class);可以获得bean
webservice不在spring容器中,所以NullPointerException
使用ContextLoaderListener.getCurrentWebApplicationContext().getBean(HelloWorld.class);可以获得bean