MimeTypeRegistry: can't load from file

Hi I am seeing this constantly and failing my deployment , I am able to load these from other dependencies

I wanted to check if there is way I can waive this off from loading via deployment values or cd pipeline scripts?

MimeTypeRegistry: can't load from file - /usr/lib/jvm/java-17-openjdk-17.0.13.0.11-3.el8.x86_64/conf/mime.types
java.io.FileNotFoundException: /usr/lib/jvm/java-17-openjdk-17.0.13.0.11-3.el8.x86_64/conf/mime.types (No such file or directory)
 [jakarta.activation.LogSupport:log:43] - MimetypesFileTypeMap: load JAR
 [jakarta.activation.LogSupport:log:43] - MimetypesFileTypeMap: !anyLoaded
 [jakarta.activation.LogSupport:log:43] - MimetypesFileTypeMap: not loading mime types file: /META-INF/mime.types
 [jakarta.activation.LogSupport:log:43] - MimetypesFileTypeMap: load DEF
 [jakarta.activation.FactoryFinder:getSystemProperty:105] - Checking system property   
 [jakarta.activation.spi.MimeTypeRegistryProvider
 [jakarta.activation.FactoryFinder:logFound:120] -   not found
 [jakarta.activation.ServiceLoaderUtil:firstByServiceLoader:30] - Using java.util.ServiceLoader to find
 jakarta.activation.spi.MimeTypeRegistryProvider
 [jakarta.activation.ServiceLoaderUtil:firstByServiceLoader:36] - ServiceProvider loading Facility used; returning object [org.eclipse.angus.activation.MimeTypeRegistryProviderImpl]
 [jakarta.activation.LogSupport:log:49] - MimeTypeRegistry: can't load from file - /home/jboss/.mime.types

How is this question related to Gradle?