JBoss 6 + Spring 3.0.5 + JAX-WS/CXF

前端 未结 3 1691
南方客
南方客 2020-12-20 01:39

We\'ve got our project running on JBoss 6 with Spring 3.0.5. Everything went smooth until we tried to implement some Web Services with JAX-WS. If I try doing some simple WS

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-20 01:55

    Ok, I've found a workaround. All we need to do is to move dependency injection to @PostConstruct method:

    @PostConstruct
    public void init() {
        SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this);
    }
    

提交回复
热议问题