Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native image error: Could not resolve a binding for http://schemas.xmlsoap.org/wsdl/soap/ #238

Closed
dinosath opened this issue May 27, 2021 · 68 comments

Comments

@dinosath
Copy link

I build a native image using with GRAALVM via docker. The build is successful , but when i try to run my application i ​get the following error

Could not resolve a binding for http://schemas.xmlsoap.org/wsdl/soap/

In my project dependencies are quarkus-cxf version 0.8 and Quarkus version 1.13.5.Final.
I use the cxf-codegen-plugin v3.4.3 to generate source code from a given wsdl and inject the CXFClient

@dinosath
Copy link
Author

dinosath commented May 27, 2021

I also tried adding the bus-extension.txt and wsdl.plugin.xml mentioned in #194 via resources-config.json , when you want to add resources in native image , but still the same error.

@dufoli
Copy link
Contributor

dufoli commented May 28, 2021

it come from
https://github.com/apache/cxf/blob/75fb6bb56d82f72771a9ee6ecab5d36168303f51/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/AbstractWSDLBasedEndpointFactory.java
but do you have the exception.
Or enable debug to get it ?
to have detail about why it throw exception.

@dufoli
Copy link
Contributor

dufoli commented May 28, 2021

lead reflection on ExtensibilityElement to check.
Can you detail your project and config and of course the url you are checking with body.

@dinosath
Copy link
Author

Hello , in my project i have a REST service that call a SOAP service and transform that response to another JSON model. In the cxf-codegen-plugin i have added some bindings. With extraarg -b. Even if i delete the extra arg the error is the same.

Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Could not resolve a binding for http://schemas.xmlsoap.org/wsdl/soap/ at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:361) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInfo(AbstractWSDLBasedEndpointFactory.java:268) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:146) at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91) at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:159) at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142) at io.quarkiverse.cxf.CxfClientProducer.produceCxfClient(CxfClientProducer.java:121) at io.quarkiverse.cxf.CxfClientProducer.loadCxfClient(CxfClientProducer.java:58) at com.example.ws.client.order.OrderInterfaceCxfClientProducer.createService(OrderInterfaceCxfClientProducer.zig:39) at com.example.ws.client.order.OrderInterfaceCxfClientProducer_ProducerMethod_createService_ae24ce3702b11fedf88d08b28907a75d7b63d9ad_Bean.create(OrderInterfaceCxfClientProducer_ProducerMethod_createService_ae24ce3702b11fedf88d08b28907a75d7b63d9ad_Bean.zig:210) at com.example.ws.client.order.OrderInterfaceCxfClientProducer_ProducerMethod_createService_ae24ce3702b11fedf88d08b28907a75d7b63d9ad_Bean.get(OrderInterfaceCxfClientProducer_ProducerMethod_createService_ae24ce3702b11fedf88d08b28907a75d7b63d9ad_Bean.zig:240) at com.example.ws.client.order.OrderInterfaceCxfClientProducer_ProducerMethod_createService_ae24ce3702b11fedf88d08b28907a75d7b63d9ad_Bean.get(OrderInterfaceCxfClientProducer_ProducerMethod_createService_ae24ce3702b11fedf88d08b28907a75d7b63d9ad_Bean.zig:275) at io.quarkus.arc.impl.CurrentInjectionPointProvider.get(CurrentInjectionPointProvider.java:52) at com.example.soap.OrdersSoapClient_Bean.create(OrdersSoapClient_Bean.zig:245) ... 45 more Caused by: org.apache.cxf.BusException: No binding factory for namespace http://schemas.xmlsoap.org/wsdl/soap/ registered. at org.apache.cxf.bus.managers.BindingFactoryManagerImpl.getBindingFactory(BindingFactoryManagerImpl.java:93) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:348) ... 58 more

@dufoli
Copy link
Contributor

dufoli commented May 28, 2021

Hmmm. I have checked and found the issue.
all binding factory must be loaded with field and method in reflection and I handle only one in bus-extensions.txt

org.apache.cxf.wsdl.binding.AbstractWSDLBindingFactory
org.apache.cxf.binding.xml.XMLBindingFactory
org.apache.cxf.binding.corba.CorbaBindingFactory
org.apache.cxf.bindings.soap.SOAPBindingFactory
org.apache.cxf.binding.soap.SoapBindingFactory => rt/bindings/soap/src/main/resources/META-INF/cxf/bus-extensions.txt so ok
org.apache.cxf.binding.AbstractBindingFactory

other potential missing classes by diff between processor and https://github.com/apache/cxf/blob/75fb6bb56d82f72771a9ee6ecab5d36168303f51/distribution/src/main/release/samples/jaxws_graalvm/src/graalvm/client/reflect-config.json and removing bus-extensions.txt:

com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
com.sun.xml.bind.v2.runtime.property.ArrayElementLeafProperty
com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty
com.sun.xml.bind.v2.runtime.property.ArrayReferenceNodeProperty
com.sun.xml.bind.v2.runtime.property.SingleElementLeafProperty
com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty
com.sun.xml.bind.v2.runtime.property.SingleMapNodeProperty
com.sun.xml.bind.v2.runtime.property.SingleReferenceNodeProperty
java.lang.invoke.MethodHandles$Lookup
java.lang.management.ManagementFactory
java.lang.management.RuntimeMXBean
java.net.Authenticator
java.nio.Bits
java.nio.Buffer
java.nio.DirectByteBuffer
java.security.MessageDigestSpi
java.security.SecureRandomParameters
java.util.concurrent.Executor
jdk.internal.misc.Unsafe
org.apache.cxf.binding.AbstractBindingFactory
org.apache.cxf.Bus
org.apache.cxf.common.util.OpcodesProxy
org.apache.cxf.endpoint.Client
org.apache.cxf.endpoint.Client$Contexts
org.apache.cxf.endpoint.ClientCallback
org.apache.cxf.endpoint.ConduitSelector
org.apache.cxf.endpoint.Endpoint
org.apache.cxf.ext.logging.LoggingBusLifecycleListener
org.apache.cxf.ext.logging.LoggingFactoryBeanListener
org.apache.cxf.ext.logging.OldLoggingFactoryBeanListener
org.apache.cxf.message.Message
org.apache.cxf.transport.Conduit
org.apache.cxf.transport.http.ReferencingAuthenticator
org.apache.cxf.ws.addressing.wsdl.UsingAddressing
org.apache.xml.resolver.CatalogManager
org.w3c.dom.UserDataHandler
sun.misc.Unsafe
sun.nio.ch.SelectorImpl
sun.security.provider.DRBG
sun.security.provider.SHA
sun.security.provider.SHA2$SHA256

@dufoli
Copy link
Contributor

dufoli commented May 28, 2021

maybe I can clean up more the list. When I register for reflection a class, maybe interface and abstract class must not been declared. I am thinking to Bus class for example. I am not sure it is usefull to add it.

@shumonsharif
Copy link
Contributor

@dinosath are you by any chance able to update the attached to reproduce the issue you are seeing?
quarkus-cxf-238.zip

You can run mvn clean verify -Dnative to execute the native integration test.

@dufoli
Copy link
Contributor

dufoli commented Jun 3, 2021

any news here ?
@shumonsharif else I can add all refelction build item class....

@shumonsharif
Copy link
Contributor

Hey @dufoli sounds good to me ... I was hoping we could at least verify whether the changes fix the issues @dinosath is having ... but not sure if we can get a reproducer. So let's add the build item classes, and keep our fingers crossed!

@dinosath
Copy link
Author

dinosath commented Jun 3, 2021

Hello , i tried finding a public wsdl that generates the same issue as mine , but was not able to find one. Sadly the wsdl i use in my case is proprietary , so i cannot share it.

@shumonsharif
Copy link
Contributor

@dinosath for all we know, you may have an invalid WSDL, or one that CXF cannot handle ... it's difficult to help you without a reproducer; this also seems to be an edge case that hasn't been encountered by others yet. Are you able to put together a simple WSDL that's representative of your proprietary one?

Hopefully the patch @dufoli puts in will address your issue, and you're able to test it for us, but we're essentially throwing darts in the dark here ... :)

@dinosath
Copy link
Author

dinosath commented Jun 4, 2021

Yeah i know it is hard to address the issue without a project that reproduce the problem and is accessible. Truthfully i hoped others encountered the issue as well...

The wsdl is ok because we already use plain cxf in our quarkus project.

@dufoli
Copy link
Contributor

dufoli commented Jun 4, 2021

OK so we will add all class to reflection for native and if you can test the branch before merge it will be perfect.

@dufoli
Copy link
Contributor

dufoli commented Jun 4, 2021

@dinosath can you test with version of branch issue238 ?

@dufoli
Copy link
Contributor

dufoli commented Jun 4, 2021

I have just added binding

@dinosath
Copy link
Author

dinosath commented Jun 4, 2021

Yes i can test it. It is the least i can do , since i can not provide a wsdl file.

@dinosath
Copy link
Author

dinosath commented Jun 4, 2021

I tested it and the issue remains.

@shumonsharif
Copy link
Contributor

The wsdl is ok because we already use plain cxf in our quarkus project.

@dinosath are you able to share a cleansed version of your pom.xml?

@dufoli
Copy link
Contributor

dufoli commented Jun 5, 2021

Can you share interface or at least obfuscated signature of method

@dinosath
Copy link
Author

dinosath commented Jun 8, 2021

@shumonsharif Hello , sadly i cannot share the pom.xml. But i am sure it is not an issue with my pom because in the cxf-238.zip project i replaced the hello.wsdl with mine and no other changes apart from the cxfclient interface. The issue persists for both 0.8 and 0.9.0-SNAPSHOT from branch issue238.

@dinosath
Copy link
Author

dinosath commented Jun 8, 2021

@dufoli this is an obfuscated signature of the method i used from the interface that is generated from the cxf-codegen plugin
@WebMethod(operationName = "GetCustomList", action = "http://sample.data.com/contract/v1/get-list") @Action(input = "http://sample.data.com/contract/v1/get-list", fault = {}) @WebResult(name = "GetCustomListResponseModel", targetNamespace = "http://sample.data.com/schema/custom/v1", partName = "CustomList") public GetCustomListResponseModel getCustomList( @WebParam(partName = "CustomCriteria", name = "GetCustomListRequestModel", targetNamespace = "http://sample.data.com/schema/custom/v1") GetCustomListRequestModel customCriteria, @WebParam(partName = "H1", name = "Header1", targetNamespace = "http://sample.data.com/contract/header/v1", header = true) Header1 h1, @WebParam(partName = "H2", name = "Header2", targetNamespace = "http://sample.data.com/contract/header/v1", header = true) Header2 h2 ) throws CustomFault;

@dinosath
Copy link
Author

dinosath commented Jun 8, 2021

@dufoli Also the interface that i inject as cxfclient obfuscated
@WebService(targetNamespace = "http://sample.data.com/contract/v1", name = "CustomInterface") @XmlSeeAlso({com.sample.data.schema.ObjectFactory.class, com.sample.data.contract.fault.v1.ObjectFactory.class, com.sample.dataschema.common.v1.ObjectFactory.class}) @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) public interface CustomInterface {}

@shumonsharif
Copy link
Contributor

@shumonsharif Hello , sadly i cannot share the pom.xml. But i am sure it is not an issue with my pom because in the cxf-238.zip project i replaced the hello.wsdl with mine and no other changes apart from the cxfclient interface. The issue persists for both 0.8 and 0.9.0-SNAPSHOT from branch issue238.

Thanks for clarifying @dinosath ... there's clearly something unique to your WSDL and/or supporting schemas that's not getting handled properly. The info we've gathered so far is quite limited, and not helpful enough to address this issue.

My only suggestion is that you try modifying the hello.wsdl to see how it impacts things. Start simple with the working version of quarkus-cxf-238.zip, and copy over one operation at a time (from your WSDL) to it, until things break. Let us know how it goes.

@shumonsharif
Copy link
Contributor

Also the below will provide additional logging details ... add to your application.properties ... let us know if you discover anything new!

quarkus.log.level=INFO
quarkus.log.category."org.apache.cxf".level=TRACE
quarkus.log.category."io.quarkiverse.cxf".level=TRACE

@comrt
Copy link

comrt commented Jun 15, 2021

@dinosath are you by any chance able to update the attached to reproduce the issue you are seeing?
quarkus-cxf-238.zip

You can run mvn clean verify -Dnative to execute the native integration test.

Hello, i stumbled over the same problem, i ran your example on my Windows 10 machine with the given command.
Result is:
Caused by: org.apache.cxf.BusException: No binding factory for namespace http://schemas.xmlsoap.org/wsdl/soap/ registered.

Next thing i did, is building the app with the property quarkus.native.container-build=true as a docker image and ran it. Same result.

In the build log i can see several nullpointerexceptions, which i can't get my head around.
I attached the buildlog from the native build on windows - hope it helps somehow.

buildlog.txt

@shumonsharif
Copy link
Contributor

shumonsharif commented Jun 16, 2021

Hi @comrt can you please try to add -Dquarkus.native.auto-service-loader-registration=true to your build and let us know the results? The NPEs can safely be ignored - they are logged as DEBUG statements by the extension. Also, just to note - you are using Java 16 (which is experimental) - please stick to the Quarkus compatible Java 11 version.

@comrt
Copy link

comrt commented Jun 16, 2021

@shumonsharif i switched to jvm11 and ran it with the parameter. It doesn't work, the native image cannot be built, it fails with:

Error: Unsupported features in 4 methods Detailed message: Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: org.jvnet.mimepull.MIMEPart. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time. Trace: at parsing com.sun.xml.messaging.saaj.soap.AttachmentPartImpl$1.getContentType(AttachmentPartImpl.java:175) Call path from entry point to com.sun.xml.messaging.saaj.soap.AttachmentPartImpl$1.getContentType(): at com.sun.xml.messaging.saaj.soap.AttachmentPartImpl$1.getContentType(AttachmentPartImpl.java:175) at javax.activation.DataSourceDataContentHandler.writeTo(DataHandler.java:791) at javax.activation.DataHandler$1.run(DataHandler.java:249) at java.lang.Thread.run(Thread.java:834) at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:519) at com.oracle.svm.core.windows.WindowsJavaThreads.osThreadStartRoutine(WindowsJavaThreads.java:138) at com.oracle.svm.core.code.IsolateEnterStub.WindowsJavaThreads_osThreadStartRoutine_4bc03aa26f8cdfc97ebd54050e8ae4bce1023851(generated:0) Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: org.jvnet.mimepull.MIMEPart. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.

Please see the full build log as attachement
buildlog-2021-06-16.txt

Then i added the parameter --allow-incomplete-classpath to the nativa build args, it runs the test but fails with:
ERROR: Failed to start application (with profile prod) java.lang.InstantiationException: Type org.jboss.resteasy.microprofile.config.FilterConfigSourceImplcan not be instantiated reflectively as it does not have a no-parameter constructor or the no-parameter constructor has not been added explicitly to the native image. at java.lang.Class.newInstance(DynamicHub.java:883) at org.jboss.resteasy.microprofile.config.BaseServletConfigSource.<init>(BaseServletConfigSource.java:23) at org.jboss.resteasy.microprofile.config.FilterConfigSource.<init>(FilterConfigSource.java:21) at java.lang.reflect.Constructor.newInstance(Constructor.java:490) at java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:780) at java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:722) at java.util.ServiceLoader$3.next(ServiceLoader.java:1395) at io.smallrye.config.SmallRyeConfigBuilder.discoverSources(SmallRyeConfigBuilder.java:90) at io.smallrye.config.SmallRyeConfig.buildConfigSources(SmallRyeConfig.java:83) at io.smallrye.config.SmallRyeConfig.<init>(SmallRyeConfig.java:66) at io.smallrye.config.SmallRyeConfigBuilder.build(SmallRyeConfigBuilder.java:360) at io.quarkus.runtime.generated.Config.readConfig(Config.zig:1165) at io.quarkus.deployment.steps.RuntimeConfigSetup.deploy(RuntimeConfigSetup.zig:42) at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:345) at io.quarkus.runtime.Application.start(Application.java:90) at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:100) at io.quarkus.runtime.Quarkus.run(Quarkus.java:66) at io.quarkus.runtime.Quarkus.run(Quarkus.java:42) at io.quarkus.runtime.Quarkus.run(Quarkus.java:119) at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29)

@shumonsharif
Copy link
Contributor

@dufoli @comrt As I understood it, the issue for GraalVM #2387 was already fixed. I believe the core issue is that the Quarkus changes to address the original GraalVM Windows limitation needs to be reverted, as per:

https://github.com/quarkusio/quarkus/pull/8860/files#diff-e2e9394cec5c2edcecfcc2ee65fd6bedb2727a87b2864fa4d736bc4725d96569R635

@marcelbraghini
Copy link

hello
i'm facing a similar problem, only occurs when I run the service from the jar (uber jar), when I go up with quarkus:dev it works perfectly

Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Could not resolve a binding for http://schemas.xmlsoap.org/wsdl/soap/

you can test it on a sample project:
https://github.com/marcelbraghini/integrations

to see the error: java -jar target/integrations-0.1.0-SNAPSHOT-runner.jar

curl --location --request GET 'localhost:8080/v1/endereco/89805350'

@dufoli
Copy link
Contributor

dufoli commented Jun 21, 2021

same issue than #194 . It was supposed to be fixed but I guess we have to check if ressources is well merged in quarkus for windows or if we have special stuff for that ? because native on windows seems to use uberjar.

@dufoli
Copy link
Contributor

dufoli commented Jun 21, 2021

hmmm maybe solution is to change https://github.com/quarkiverse/quarkus-cxf/pull/218/files
by adding in test if windows && native same behaviour than uberjar to merge files in order to have
because as @shumonsharif provide link, the native on windows seems to use uberjar...
but if we do so we need to check if patch done on quarkus to use merged ressource work in native mode.

https://github.com/quarkusio/quarkus/pull/8860/files#diff-e2e9394cec5c2edcecfcc2ee65fd6bedb2727a87b2864fa4d736bc4725d96569R635

@shumonsharif
Copy link
Contributor

@dufoli It appears uberjar is broken in general, even on Mac OS. I doubled checked the META-INF/cxf/bus-extensions.txt and the META-INF/wsdl.plugin.xml files generated in @marcelbraghini 's projects uberjar - both files are getting merged properly and placed in the correct locations, but failing at runtime with Could not resolve a binding for http://schemas.xmlsoap.org/wsdl/soap/. I would suggest we either reopen #194 or create a new issue to address uberjar.

@dufoli
Copy link
Contributor

dufoli commented Jun 21, 2021

ohhhh noooo. Can you reopen on quarkus side and we will have to find a solution for that with quarkus team...

@comrt
Copy link

comrt commented Jun 22, 2021

@shumonsharif @dufoli Thank you very much again for your investigations
From my perspective this is a 'issue' best addressed to the quarkus-project.
For the mean time i can work with a multistaged docker build as a workaround locally.
I'm just happy to know, it will work in our production environment. :-)
Big Thanks!

@shumonsharif
Copy link
Contributor

@comrt Glad you have a workaround that gets you to production for now!

@dufoli It's been quite the hectic week at work - I will try to open an issue this weekend. If you have some bandwidth before that, definitely feel free to open it as well!

@dufoli
Copy link
Contributor

dufoli commented Jun 25, 2021

@shumonsharif I open the issue.

@dufoli
Copy link
Contributor

dufoli commented Jun 25, 2021

quarkusio/quarkus#18168

@shumonsharif
Copy link
Contributor

shumonsharif commented Jun 25, 2021

@dufoli I think the PR I just submitted should address these issues. @comrt Can you please help us test on Windows native once @dufoli merges the PR? @marcelbraghini if you can help test too, that'd be great!

@dufoli
Copy link
Contributor

dufoli commented Jun 25, 2021

We just missed the quarkusio/quarkus#5677 PR
Thanks @shumonsharif I have merged it.

@dufoli
Copy link
Contributor

dufoli commented Jun 25, 2021

let s close and reopen if do not worked.

@dufoli dufoli closed this as completed Jun 25, 2021
@comrt
Copy link

comrt commented Jun 25, 2021

@shumonsharif sorry if i'm commenting on the closed issue, but i will test it with quarkus 2.0 and the master branch.

@shumonsharif
Copy link
Contributor

@comrt no problem at all - and thanks once again for your help! We'll reopen the issue in case it's still not fixed.

@comrt
Copy link

comrt commented Jun 25, 2021

@shumonsharif and @dufoli
just tested it, works like a charm <3

  • Win32-App built on graalvm-ce-java16-21.1.0 and

  • Native image in docker container built on AdoptOpenJDK\jdk-11.0.11.9-hotspot\bin\java.exe

Great Work (y)

@dufoli
Copy link
Contributor

dufoli commented Jun 25, 2021

@shumonsharif have you test on your side because I can close the quarkus bug
..

@shumonsharif
Copy link
Contributor

shumonsharif commented Jun 25, 2021

@dufoli yes, tested, let's close the Quarkus bug, glad this issue is finally resolved!

@marcelbraghini
Copy link

marcelbraghini commented Jun 26, 2021

hello guys
i tested it here and it worked perfectly... the only thing that appears is a warning:

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/Users/marcelb/Projetos/integrations/target/integrations-0.1.0-SNAPSHOT-runner.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

but thanks so much for the help @dufoli @shumonsharif

@shumonsharif
Copy link
Contributor

@marcelbraghini Thanks, only suggestion I have is that you try the -Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true flag as a workaround. You can read more about it here:
https://stackoverflow.com/a/50251510

Also, including the following links in case we need to refer to these later ...
https://github.com/eclipse-ee4j/jaxb-ri/issues/1197
https://github.com/eclipse-ee4j/jaxb-ri/issues/1501

@marcelbraghini
Copy link

Oh, I get it,
thanks man

@dufoli
Copy link
Contributor

dufoli commented Jun 28, 2021

@shumonsharif maybe we can use NativeImageSystemPropertyBuildItem to set property or NativeImageConfigBuildItem but I guess first one is the best. wdyt ?

@shumonsharif
Copy link
Contributor

@dufoli the warning only gets printed for uberjar mode, and not in native mode. So I don't believe NativeImageSystemPropertyBuildItem will address it ... I think better to use just plain SystemPropertyBuildItem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants