After updating to the latest API (9.4.0.54424) things like tree.symbolType().isSubtypeOf(JAVA_LANG_EXCEPTION); stopped working. I think that happens because there are warnings about types and imports that can not be resolved. So how do I add those dependencies ? I tried to use CheckVerifier.newVerifier().withClassPath but that just caused more errors (it gave a parse error). With the Version 8 we had no such problems. Any ideas what I could try ?
Hey there.
Which specific library did you update, and what version were you using before?
Hi,
we updated sonar-plugin-api to 9.4. Before we used 8.x.
In the meantime I discovered that adding checkVerifier.withClassPath(List.of(new File(“target/test-classes”) seems to help. Is this expected ?