springboot异步线程池的使用

1.配置异步线程池2.在方法上使用线程池3.在方法内使用异步线程池线程池参考文章:https://blog.csdn.net/weixin_44773109/article/details/128120579

- 阅读全文 -

HandlerInterceptorAdapter子类中无法用@Autowired注入Service

前端访问后台接口时需要验证token来获取权限,由于token的验证过程较为复杂,所以单独写了一个service类来处理token的逻辑。在把token代码独立出来之后,发现在每次访问都会报空指针异常,经过查看发现在拦截其中注入service的时候没有注入进去 @Component public class AuthorizationInterceptor extends HandlerInte

- 阅读全文 -

Springboot调用soap~webservice

使用工具:postman和soapUI接口:http://www.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx?wsdlsoapUI调用: <dependency> <groupId>org.springframework.boot</groupId>

- 阅读全文 -