【发布时间】:2017-10-29 23:43:09
【问题描述】:
@Autowired 带注释的类变量以 Null 形式出现。 jax ws web service 已经使用 Spring Boot 和 Endpoint 来实现。
【问题讨论】:
-
你应该展示你的代码。
标签: spring-boot jax-ws autowired
@Autowired 带注释的类变量以 Null 形式出现。 jax ws web service 已经使用 Spring Boot 和 Endpoint 来实现。
【问题讨论】:
标签: spring-boot jax-ws autowired
尝试查看您是否在要自动装配的类中遗漏了@Component 或@Service 注释。
也看看这里:
Why is my Spring @Autowired field null?
【讨论】: