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
I'm migrating an application from old javax to new jakarta EE packages, however I got a few issues with Uploadcare Java client.
I suppose that Uploadcare uses javax.activation which is conflicting with jakarta.activation package.
java.lang.IllegalAccessError: failed to access class com.sun.activation.registries.LogSupport from class javax.activation.MimetypesFileTypeMap (com.sun.activation.registries.LogSupport and javax.activation.MimetypesFileTypeMap are in unnamed module of loader 'app')
at javax.activation.MimetypesFileTypeMap.<init>(MimetypesFileTypeMap.java:130)
at com.uploadcare.api.RequestHelper.getMimeType(RequestHelper.java:80)
at com.uploadcare.upload.FileUploader.upload(FileUploader.java:127)
Environment
3.5.1
Java/SpringBoot
macOS
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm migrating an application from old javax to new jakarta EE packages, however I got a few issues with Uploadcare Java client.
I suppose that Uploadcare uses
javax.activation
which is conflicting withjakarta.activation
package.The error can be reproduced like this:
com.uploadcare:uploadcare:3.5.1
dependencyjakarta.activation:jakarta.activation-api:2.1.1
dependencyExpected behavior
File is uploaded without exceptions
Code / screenshots
Environment
The text was updated successfully, but these errors were encountered: