Download the beta from our site to start testing your app for compatibility with the changes. Be sure to take a look at our Preparing for Confluence 9.3 guide to find out what you need to do to make your app compatible. We’ll update that page regularly, so keep an eye on it to see any changes.
Reminder: for future release updates, make sure you visit the Atlassian changelog, and consider subscribing to the RSS feed.
INFO] 36 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/r2d2/atlassian-workplace/restapi-extender_9/src/main/java/com/itlab/confluence/plugins/conf-plug/exception/RestExceptionMapper.java:[3,54] package com.atlassian.confluence.rest.v2.api.exception does not exist
[ERROR] /Users/r2d2/atlassian-workplace/restapi-extender_9/src/main/java/com/itlab/confluence/plugins/conf-plug/exception/RestExceptionMapper.java:[10,42] cannot find symbol
symbol: class ServiceExceptionMapper
[ERROR] /Users/r2d2/atlassian-workplace/restapi-extender_9/src/main/java/com/itlab/confluence/plugins/conf-plug/exception/RestExceptionMapper.java:[14,5] method does not override or implement a method from a supertype
[INFO] 3 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.544 s
[INFO] Finished at: 2025-01-28T09:55:14+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project conf-plug: Compilation failure: Compilation failure:
[ERROR] /Users/r2d2/atlassian-workplace/conf-plug_9/src/main/java/com/itlab/confluence/plugins/conf-plug/exception/RestExceptionMapper.java:[3,54] package com.atlassian.confluence.rest.v2.api.exception does not exist
[ERROR] /Users/r2d2/atlassian-workplace/conf-plug_9/src/main/java/com/itlab/confluence/plugins/conf-plug/exception/RestExceptionMapper.java:[10,42] cannot find symbol
[ERROR] symbol: class ServiceExceptionMapper
[ERROR] /Users/r2d2/atlassian-workplace/conf-plug_9/src/main/java/com/itlab/confluence/plugins/conf-plug/exception/RestExceptionMapper.java:[14,5] method does not override or implement a method from a supertype
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
As part of the prep work for the upcoming Jakarta migration in Confluence 10, some of the classes from the confluence-rest-v2-api module, including ServiceExceptionMapper, were moved to a new confluence-restv2-server-api module. You’ll need to add a dependency on that module to build against Confluence 9.3+ if you want to continue using that class.
Note that this is a build-time issue only - the class it is in the same package, so binary compatibility has been unaffected.
I have a question … am I doing something wrong or is it due to changes in Confluence and whose side is the bug?
So far, my RequestWrapper which allowed reading the body request (getReader, getBody etc.) several times worked correctly, in version 9.3.0-beta 1 it throws an exception (this problem affects all REST API calls)