CXFwebservice ,服务端问题

服务端操作数据库用的mybatis,图片说明这是代码,服务端一访问然后传值就报错了。
图片说明图片说明图片说明图片说明图片说明
在每次启动后几句,有这句话九月 20, 2017 2:53:44 下午 org.apache.cxf.common.injection.ResourceInjector visitField
信息: failed to resolve resource com.bjhnd.Service.Test.Impl.TestServiceImpl/tDatacentermiddleMapper

报nullpointexception说明变量没有初始化赋值.
只需要变量加上@Resource注解,实现自动注入,就行了,希望能帮到您!

那个mapper为空 没有注入

你的private xxxmapper 加上@Autowired