05 2021 档案
摘要:找到产生冲突的依赖,通过exclusion标签将其移除 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-oauth2-resource-server</artifactI
阅读全文
摘要:授权服务器目标接口 @RequestMapping( value = {"/oauth/token"}, method = {RequestMethod.POST} ) public ResponseEntity<OAuth2AccessToken> postAccessToken(Principa
阅读全文
摘要:cloud 进行服务间调用时通常需要添加token作为请求头,下面是我自己的解决方案 @Autowired OauthClient oauthClient; /** * 通过服务名调用 */ private static final String OAUTH_URL = "http://sclp-o
阅读全文
摘要:无法扫描到接口实现,'com.sclp.mapper.GenTableMapper' that could not be found. Description: Field genTableService in com.sclp.controller.GenController required a
阅读全文