twilio / authy-php

A PHP client for Authy
245 stars 87 forks source link

Conflict in dependancies with spring boot 2.0.5 #60

Closed rclarke1 closed 5 years ago

rclarke1 commented 5 years ago

For anyone using spring boot 2.0.5, I was getting the following error during runtime java.lang.NoSuchMethodError: org.json.JSONObject

to resolve I needed to exclude the following com.vaadin.external.google from spring-boot-starter-test:

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
            <exclusions>
                <exclusion> 
                    <groupId>com.vaadin.external.google</groupId>
                    <artifactId>android-json</artifactId>
               </exclusion>
                </exclusions> 
        </dependency>

As that package had its own org.json dependency. Hope this saves someone some time

luisuribe commented 5 years ago

This doesn't look as an issue for this library.