You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I'm getting errors related to jakarta.activation. When I try to add a body part to a request builder, I'm getting an error:
java.lang.ArrayStoreException: arraycopy: element type mismatch: can not cast one of the elements of java.lang.Object[] to the type of the destination array, jakarta.activation.MimeTypeRegistry
It works fine when I'm adding a StringPart, but this is when I try to add a InputStreamPart in the same requestBuilder.
If I import angus-activation instead, it seems to work, but it should really not be needed.
I'm upgrading to JakartaEE and Java21 and is running into issues. I'm imorting AHC version
3.0.0.Beta3
withBut I'm getting errors related to
jakarta.activation
. When I try to add a body part to a request builder, I'm getting an error:It works fine when I'm adding a
StringPart
, but this is when I try to add aInputStreamPart
in the same requestBuilder.If I import angus-activation instead, it seems to work, but it should really not be needed.
The text was updated successfully, but these errors were encountered: