Hi,
I recently updated my plugin to use the new Page event handlers. I also had to adjust my tests accordingly but now I keep getting java.lang.ClassNotFoundException: com.atlassian.sal.api.user.UserKey error in my tests, I tried importing the component in my plugin-xml but that didnt help as well.
My confluence version is the pom is 5.4 same as my confluence data version
What am I missing?
Thanks
Community moderators have prevented the ability to post new answers.
Do you have an explicit dependency on the sal-api artifact in your pom.xml? You may need to upgrade it to a newer version, something like this:
<dependency> <groupId>com.atlassian.sal</groupId> <artifactId>sal-api</artifactId> <version>2.10.10</version> <scope>provided</scope> </dependency>
That hit the spot, thanks a lot!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.