jsonRpcOperationServer bean could not be created

Hi, I am upgrading to version 2024.06.

We use the dataservice packages “dataservices-parent” and “dataservices-server-app”. While starting I get the error that different beans could not be created which boils down to the class “InputStreamResponseListener” not being able to be found. This class originates from the path “org.eclipse.jetty.client.util”.

How can I fix this?

Hello,

Could you please provide some information about your dependencies via:

gradle dependencies

For example, this is the output within project template 202406.0.0

gradle server:app:dependencies 

I can see the org.eclipse.jetty:jetty-client package is included; you can have a look at the server/app/build.gradle for reference.

deps.txt (727.7 KB)

Hi, I believe there is a version mismatch within the jetty-client. We use appkit which comes with version 12.0.9 of the jetty-client. In every subsequent usage of the dependency the version that a12 expects (10.0.15) gets upgraded to 12.0.9 which propably causes the error.

I will try to find a workaround and post it once i have one.

Workaround is setting the version to strictly 10.0.15.