OpenFeign Ambiguous mapping exception 2020年12月15日 | Leave a comment 问题: Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'documentationPluginsBootstrapper' defined in URL [jar:file:/C:/Users/tangfh/.m2/repository/io/springfox/springfox-spring-web/3.0.0/springfox-spring-web-3.0.0.jar!/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapper.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webMvcRequestHandlerProvider' defined in URL [jar:file:/C:/Users/tangfh/.m2/repository/io/springfox/springfox-spring-webmvc/3.0.0/springfox-spring-webmvc-3.0.0.jar!/springfox/documentation/spring/web/plugins/WebMvcRequestHandlerProvider.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'com.telsafe.provider.basic.api.tenant.TenantClient' method com.telsafe.provider.basic.api.tenant.TenantClient#create(TenantDto) to {POST /tcm/v1/tenants/posttenant}: There is already 'tenantResource' bean method com.telsafe.service.basic.rest.TenantResource#create(TenantDto) mapped. 1234 Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'documentationPluginsBootstrapper' defined in URL [jar:file:/C:/Users/tangfh/.m2/repository/io/springfox/springfox-spring-web/3.0.0/springfox-spring-web-3.0.0.jar!/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapper.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webMvcRequestHandlerProvider' defined in URL [jar:file:/C:/Users/tangfh/.m2/repository/io/springfox/springfox-spring-webmvc/3.0.0/springfox-spring-webmvc-3.0.0.jar!/springfox/documentation/spring/web/plugins/WebMvcRequestHandlerProvider.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'com.telsafe.provider.basic.api.tenant.TenantClient' method com.telsafe.provider.basic.api.tenant.TenantClient#create(TenantDto)to {POST /tcm/v1/tenants/posttenant}: There is already 'tenantResource' bean methodcom.telsafe.service.basic.rest.TenantResource#create(TenantDto) mapped. 解决: … Read More
# Azure DevOps CD 配置备忘2 2020年12月8日 | Leave a comment # Azure DevOps CD 配置备忘 ## agent 说明 * 需要安装 JDK11 & M… Read More
Azure Devops Pipeline 备忘 2020年12月8日 | Leave a comment 问题 解决: 实现 mvn test -> mvn package > docker… Read More
转:Docker – docker in docker(dind) 2020年12月8日 | Leave a comment https://www.cnblogs.com/anliven/p/13551614.html … Read More
转:Kubernetes使用阿里云docker 2020年12月7日 | Leave a comment https://my.oschina.net/u/583362/blog/3052071 &nb… Read More
转:kubernetes集群:nexus搭建docker私有仓库及使用 2020年12月7日 | Leave a comment https://www.cnblogs.com/zoujiaojiao/p/12468670.html &nb… Read More
K8S hello service YAML 2020年12月3日 | Leave a comment 问题: 解决: apiVersion: v1 kind: Service metadata: name: nginx-service spec: type: NodePort selector: app: nginx ports: - protocol: TCP port: 8080 targetPort: 80 nodePort: 30080 12345678910111213 apiVersion: v1kind: Servicemetadata: name: nginx-servicespec: type: NodePort selector: app: nginx ports: - protocol: TCP port: 8080 targetPort: 80 nodePort: 30080 … Read More
K8S hello deployment YAML 2020年12月3日 | Leave a comment 问题: 解决: nginx-deployment.xml [crayon-6934… Read More
转:k8s使用需认证的私服仓库 2020年12月2日 | Leave a comment https://www.cnblogs.com/hellxz/p/13470099.html 阅… Read More
spring boot + swagger 配置 (springfox 3.0 版本) 2020年12月2日 | Leave a comment 问题: 之前都需要手工配置 @EnableSwagger 之类 springfox 3.0 有个 starte… Read More