@Service
/**
* 收费
* @author jinlong
*
*/
@Service
public class FeeService {
}
如果不加@Service参数 在 FeeController中调用service方法 会抛如下异常:
严重: Servlet.service() for servlet spring-mvc threw exception
java.lang.NullPointerException
@Service
/**
* 收费
* @author jinlong
*
*/
@Service
public class FeeService {
}
如果不加@Service参数 在 FeeController中调用service方法 会抛如下异常:
严重: Servlet.service() for servlet spring-mvc threw exception
java.lang.NullPointerException