标签: spring-boot jax-ws autowired
@Autowired带注释的类变量以Null的形式出现。 jax ws Web服务使用Spring Boot和Endpoint来实现。
答案 0 :(得分:-1)
尝试查看您是否错过了要自动装配的班级中的@Component或@Service注释。 另外看看这里: Why is my Spring @Autowired field null?
@Component
@Service