How to make an @WebService spring aware

后端 未结 3 415
长情又很酷
长情又很酷 2020-12-08 23:58

I have a Web Service which I am trying to Autowire a variable into. Here is the class:

package com.xetius.isales.pr7.service;

import java.util.Arrays;
impo         


        
3条回答
  •  忘掉有多难
    2020-12-09 00:45

    If you want autowiring to happen, ProductRulesWebService needs to extend SpringBeanAutowiringSupport

    Extending that class will allow UpgradeController to be autowired

提交回复
热议问题