Autocomplete in IntelliJ IDEA is using not using the right API version?

Hello,

I’m having a project where Confluence 7.19.1 is defined in the POM. IntelliJ is also doing the autocomplete on classes provided by the SDK.

But it seems like it uses an older version as I’m missing out the method “getTrashDate” on the ContentEntityObject:

https://docs.atlassian.com/ConfluenceServer/javadoc/7.19.1/com/atlassian/confluence/core/ContentEntityObject.html#getTrashDate--

Is there any way to check and change which is the source for Intellij IDEAs autocomplete function?

Thanks in advance

Solved: There was indeed a second dependency pointing to Confluence 7.6.0 - removed it and now it works.