-3
@Autowired带注释的类变量将作为Null提供。 jax ws Web服务使用Spring Boot和Endpoint来实现。@autowired与jax ws + null Spring Boot
@Autowired带注释的类变量将作为Null提供。 jax ws Web服务使用Spring Boot和Endpoint来实现。@autowired与jax ws + null Spring Boot
尝试查看您是否错过了想要自动装配的课程中的@Component
或@Service
注释。
也看看这里:
Why is my Spring @Autowired field null?
你应该显示你的代码。 – Patrick