已采纳回答 / Ashwood_Edward
@Aspect @Component public aspect HttpCliet {问题在这里: 类的定义解决: public class HttpClient{...}望采纳
2018-04-04
最赞回答 / 飞到死的鸟
老师不是讲Aspect之前就说了吗,不能是sapect类,而是要正常的class。你程序里面:public aspect HttpClient(){...} 改成 public class HttpClient(){}
2018-04-04