{"action":"created","issue":{"url":"https://api.github.com/repos/springfox/springfox/issues/2932","repository_url":"https://api.github.com/repos/springfox/springfox","labels_url":"https://api.github.com/repos/springfox/springfox/issues/2932/labels{/name}","comments_url":"https://api.github.com/repos/springfox/springfox/issues/2932/comments","events_url":"https://api.github.com/repos/springfox/springfox/issues/2932/events","html_url":"https://github.com/springfox/springfox/issues/2932","id":418632905,"node_id":"MDU6SXNzdWU0MTg2MzI5MDU=","number":2932,"title":"Issue when using Swagger latest version 2.9.2 with Spring boot 2.2.0","user":{"login":"AdityaJaiswal7","id":8222071,"node_id":"MDQ6VXNlcjgyMjIwNzE=","avatar_url":"https://avatars0.githubusercontent.com/u/8222071?v=4","gravatar_id":"","url":"https://api.github.com/users/AdityaJaiswal7","html_url":"https://github.com/AdityaJaiswal7","followers_url":"https://api.github.com/users/AdityaJaiswal7/followers","following_url":"https://api.github.com/users/AdityaJaiswal7/following{/other_user}","gists_url":"https://api.github.com/users/AdityaJaiswal7/gists{/gist_id}","starred_url":"https://api.github.com/users/AdityaJaiswal7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdityaJaiswal7/subscriptions","organizations_url":"https://api.github.com/users/AdityaJaiswal7/orgs","repos_url":"https://api.github.com/users/AdityaJaiswal7/repos","events_url":"https://api.github.com/users/AdityaJaiswal7/events{/privacy}","received_events_url":"https://api.github.com/users/AdityaJaiswal7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2019-03-08T05:02:20Z","updated_at":"2019-08-02T03:30:09Z","closed_at":null,"author_association":"NONE","body":"Hi, I am running a Spring boot 2.2.0 with swagger version **2.9.2**  and in swagger configuration file if I am using **@Configuration** and **@EnableSwagger2**, getting the following error:\r\n\r\n***************************\r\nAPPLICATION FAILED TO START\r\n***************************\r\n\r\nDescription:\r\n\r\nAn attempt was made to call a method that does not exist. The attempt was made from the following location:\r\n\r\n    springfox.documentation.spring.web.plugins.DocumentationPluginsManager.createContextBuilder(DocumentationPluginsManager.java:152)\r\n\r\nThe following method did not exist:\r\n\r\n    org.springframework.plugin.core.PluginRegistry.getPluginFor(Ljava/lang/Object;Lorg/springframework/plugin/core/Plugin;)Lorg/springframework/plugin/core/Plugin;\r\n\r\nThe method's class, org.springframework.plugin.core.PluginRegistry, is available from the following locations:\r\n\r\n    jar:file:/Users/SystemName/.m2/repository/org/springframework/plugin/spring-plugin-core/2.0.0.M1/spring-plugin-core-2.0.0.M1.jar!/org/springframework/plugin/core/PluginRegistry.class\r\n\r\nIt was loaded from the following location:\r\n\r\n    file:/Users/SystemName/.m2/repository/org/springframework/plugin/spring-plugin-core/2.0.0.M1/spring-plugin-core-2.0.0.M1.jar\r\n\r\n\r\nAction:\r\n\r\nCorrect the classpath of your application so that it contains a single, compatible version of org.springframework.plugin.core.PluginRegistry\r\n\r\nAny help would be appreciated. \r\nThanks!"},"comment":{"url":"https://api.github.com/repos/springfox/springfox/issues/comments/517534145","html_url":"https://github.com/springfox/springfox/issues/2932#issuecomment-517534145","issue_url":"https://api.github.com/repos/springfox/springfox/issues/2932","id":517534145,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNzUzNDE0NQ==","user":{"login":"HattoriHenzo","id":5141285,"node_id":"MDQ6VXNlcjUxNDEyODU=","avatar_url":"https://avatars1.githubusercontent.com/u/5141285?v=4","gravatar_id":"","url":"https://api.github.com/users/HattoriHenzo","html_url":"https://github.com/HattoriHenzo","followers_url":"https://api.github.com/users/HattoriHenzo/followers","following_url":"https://api.github.com/users/HattoriHenzo/following{/other_user}","gists_url":"https://api.github.com/users/HattoriHenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/HattoriHenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HattoriHenzo/subscriptions","organizations_url":"https://api.github.com/users/HattoriHenzo/orgs","repos_url":"https://api.github.com/users/HattoriHenzo/repos","events_url":"https://api.github.com/users/HattoriHenzo/events{/privacy}","received_events_url":"https://api.github.com/users/HattoriHenzo/received_events","type":"User","site_admin":false},"created_at":"2019-08-02T03:30:09Z","updated_at":"2019-08-02T03:30:09Z","author_association":"NONE","body":"Unless I am missing something in my POM, it doesn't work for me and still have the same issue.\r\n\r\n```\r\n<project xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://maven.apache.org/POM/4.0.0\"\r\n         xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\">\r\n    <modelVersion>4.0.0</modelVersion>\r\n    <parent>\r\n        <groupId>org.springframework.boot</groupId>\r\n        <artifactId>spring-boot-starter-parent</artifactId>\r\n        <version>2.2.0.BUILD-SNAPSHOT</version>\r\n        <relativePath/> <!-- lookup parent from repository -->\r\n    </parent>\r\n    <groupId>com.practice</groupId>\r\n    <artifactId>practice-bus-manager</artifactId>\r\n    <version>0.0.1-SNAPSHOT</version>\r\n    <name>practice-bus-manager</name>\r\n    <description>FullStack bus manager app</description>\r\n\r\n    <properties>\r\n        <java.version>1.8</java.version>\r\n    </properties>\r\n\r\n    <dependencies>\r\n        <dependency>\r\n            <groupId>org.springframework.boot</groupId>\r\n            <artifactId>spring-boot-starter-actuator</artifactId>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>org.springframework.boot</groupId>\r\n            <artifactId>spring-boot-starter-data-jpa</artifactId>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>mysql</groupId>\r\n            <artifactId>mysql-connector-java</artifactId>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>org.springframework.boot</groupId>\r\n            <artifactId>spring-boot-starter-security</artifactId>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>org.springframework.boot</groupId>\r\n            <artifactId>spring-boot-starter-web</artifactId>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>org.springframework.boot</groupId>\r\n            <artifactId>spring-boot-starter-thymeleaf</artifactId>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>nz.net.ultraq.thymeleaf</groupId>\r\n            <artifactId>thymeleaf-layout-dialect</artifactId>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>org.springframework.plugin</groupId>\r\n            <artifactId>spring-plugin-core</artifactId>\r\n            <version>1.2.0.RELEASE</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>io.jsonwebtoken</groupId>\r\n            <artifactId>jjwt</artifactId>\r\n            <version>0.9.1</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>org.springframework.boot</groupId>\r\n            <artifactId>spring-boot-devtools</artifactId>\r\n            <scope>runtime</scope>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>org.modelmapper</groupId>\r\n            <artifactId>modelmapper</artifactId>\r\n            <version>2.3.2</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>javax.persistence</groupId>\r\n            <artifactId>persistence-api</artifactId>\r\n            <version>1.0.2</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>io.springfox</groupId>\r\n            <artifactId>springfox-swagger2</artifactId>\r\n            <version>2.9.2</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>io.springfox</groupId>\r\n            <artifactId>springfox-swagger-ui</artifactId>\r\n            <version>2.9.2</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>org.springframework.boot</groupId>\r\n            <artifactId>spring-boot-starter-test</artifactId>\r\n            <scope>test</scope>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>org.springframework.security</groupId>\r\n            <artifactId>spring-security-test</artifactId>\r\n            <scope>test</scope>\r\n        </dependency>\r\n    </dependencies>\r\n\r\n    <!-- Test dependencies -->\r\n\r\n    <build>\r\n        <plugins>\r\n            <plugin>\r\n                <groupId>org.springframework.boot</groupId>\r\n                <artifactId>spring-boot-maven-plugin</artifactId>\r\n            </plugin>\r\n        </plugins>\r\n    </build>\r\n\r\n</project>\r\n```\r\nAny idea please ?"}}
{"actor":{"display_login":"HattoriHenzo"}}