eternal9015
2017-12-08 06:53spring boot webservices 中引入的其他业务层总是为null
@WebService(serviceName = "CommonService",
targetNamespace = "http://server.webserver.production.sofn_productioncxf.me.com",
endpointInterface="com.me.sofn_productioncxf.production.webserver.server.ProductionServer")
public class ProductionServerImpl implements ProductionServer {
private static final Logger log = LoggerFactory.getLogger(ProductionServerImpl.class);
@Autowired
private JdbcTemplate jdbcTemplate;
@Autowired
private ProductionService productionService;
在使用webservices客户端,调用的时候,这个类中, productionService 总是为null。如果把webservice配置注释掉,就没有问题了,请问时怎么回事?
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- spring boot + mybtis + java嵌入式sqlite 对dao层加锁的问题。
- sqlite
- java
- eclipse
- 1个回答
- spring boot关于requestmapping的父类url问题,求助
- spring
- java
- java-ee
- intellij-idea
- 2个回答
- spring boot 使用fastjson反序列化获取字符串的对象 存入数据库表中
- eclipse
- spring
- sql
- mysql
- 5个回答
- spring boot 访问HTML 总是有缓存,如何修改前端页面实时生效
- java
- 4个回答
- idea配置spring-boot,引入的test路径找不到
- spring
- maven
- intellij-idea
- 1个回答
换一换