{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-contract/issues/175","repository_url":"https://api.github.com/repos/spring-cloud/spring-cloud-contract","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-contract/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-contract/issues/175/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-contract/issues/175/events","html_url":"https://github.com/spring-cloud/spring-cloud-contract/issues/175","id":196886539,"number":175,"title":"Exception when using mvn spring-boot:run with spring-cloud-contract-maven-plugin and multiple spring-boot-starter  ","user":{"login":"koslowskyj","id":19502456,"avatar_url":"https://avatars.githubusercontent.com/u/19502456?v=3","gravatar_id":"","url":"https://api.github.com/users/koslowskyj","html_url":"https://github.com/koslowskyj","followers_url":"https://api.github.com/users/koslowskyj/followers","following_url":"https://api.github.com/users/koslowskyj/following{/other_user}","gists_url":"https://api.github.com/users/koslowskyj/gists{/gist_id}","starred_url":"https://api.github.com/users/koslowskyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koslowskyj/subscriptions","organizations_url":"https://api.github.com/users/koslowskyj/orgs","repos_url":"https://api.github.com/users/koslowskyj/repos","events_url":"https://api.github.com/users/koslowskyj/events{/privacy}","received_events_url":"https://api.github.com/users/koslowskyj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-21T09:39:04Z","updated_at":"2016-12-21T09:39:04Z","closed_at":null,"body":"# Problem \r\n\r\nWhen running mvn spring-boot:run the following exceptions occurs\r\n\r\nAn exception has occurred in the compiler (1.8.0_111)\r\njava.lang.IllegalStateException: endPosTable already set\r\n\r\n# pom.xml excerpt \r\n\r\n```\r\n\r\n<parent>\r\n        <groupId>org.springframework.boot</groupId>\r\n        <artifactId>spring-boot-starter-parent</artifactId>\r\n        <version>1.4.1.RELEASE</version>\r\n </parent>\r\n\r\n <plugin>\r\n               <groupId>org.springframework.cloud</groupId>\r\n               <artifactId>spring-cloud-contract-maven-plugin</artifactId>\r\n               <version>1.1.0.BUILD-SNAPSHOT</version>\r\n               <extensions>true</extensions>\r\n     </plugin>\r\n\r\n\r\n<dependency>\r\n            <groupId>org.springframework.boot</groupId>\r\n            <artifactId>spring-boot-devtools</artifactId>\r\n            <optional>true</optional>\r\n        </dependency>\r\n\r\n        <dependency>\r\n            <groupId>org.springframework.boot</groupId>\r\n            <artifactId>spring-boot-starter-actuator</artifactId>\r\n        </dependency>\r\n\r\n        <dependency>\r\n            <groupId>org.springframework.boot</groupId>\r\n            <artifactId>spring-boot-starter-amqp</artifactId>\r\n        </dependency>\r\n\r\n        <dependency>\r\n            <groupId>org.springframework.boot</groupId>\r\n            <artifactId>spring-boot-starter-data-jpa</artifactId>\r\n        </dependency>\r\n\r\n        <dependency>\r\n            <groupId>org.springframework.boot</groupId>\r\n            <artifactId>spring-boot-starter-jetty</artifactId>\r\n        </dependency>\r\n\r\n        <dependency>\r\n            <groupId>org.springframework.boot</groupId>\r\n            <artifactId>spring-boot-starter-web</artifactId>\r\n        </dependency>\r\n\r\n``` \r\n\r\n# Workaround \r\n\r\nset incremental compilation to false\r\n\r\n```\r\n\r\n<plugin>\r\n                    <groupId>org.apache.maven.plugins</groupId>\r\n                    <artifactId>maven-compiler-plugin</artifactId>\r\n                    <version>3.3</version>\r\n                    <configuration>\r\n                      <compilerVersion>${java.version}</compilerVersion>\r\n                      <source>${java.version}</source>\r\n                      <target>${java.version}</target>\r\n                      <useIncrementalCompilation>false</useIncrementalCompilation>\r\n                    </configuration>\r\n                </plugin>\r\n\r\n```\r\n\r\n"}}
{"actor":{"display_login":"koslowskyj"}}