I have the same problem and solved some part of it.
you might need to exclude jackson from the import
<dependency>
<groupId>com.intuit.quickbooks-online</groupId>
<artifactId>oauth2-platform-api</artifactId>
<classifier>jar-with-dependencies</classifier>
<version>${quickbook.api.version}</version>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
</exclusions>
</dependency>
You can solve the problem from the query if you change it to specific fields i.e.
String query = "select CompanyName from companyinfo";