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
just stumbled upon the same problem...
i'd like to add --initalize-at-build-time=org.eclipse.persistence.exceptions.i18n.JAXBExceptionResource, but no idea where to put that in my build.gradle.
i tried
because thats what i would have guessed, but it does not work.
i can build a native image but when i run it, i get:
Exception in thread "main" jakarta.xml.bind.JAXBException: Can't find bundle for base name org.eclipse.persistence.exceptions.i18n.JAXBExceptionResource, locale de_DE
- with linked exception:
[java.util.MissingResourceException: Can't find bundle for base name org.eclipse.persistence.exceptions.i18n.JAXBExceptionResource, locale de_DE]
at org.eclipse.persistence.jaxb.JAXBContext$TypeMappingInfoInput.createContextState(JAXBContext.java:1173)
at org.eclipse.persistence.jaxb.JAXBContext.<init>(JAXBContext.java:208)
at org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:167)
at org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:154)
at org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:114)
at org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:104)
at org.gitlab.jsfdl.ports.dto.SfdlToBusinessObjectConverter.convert(SfdlToBusinessObjectConverter.java:25)
at org.gitlab.jsfdl.ports.dto.SfdlToBusinessObjectConverter.convert(SfdlToBusinessObjectConverter.java:15)
at org.gitlab.jsfdl.Application.loadSfdl(Application.java:36)
at org.gitlab.jsfdl.adapters.Console.main(Console.java:24)
Caused by: java.util.MissingResourceException: Can't find bundle for base name org.eclipse.persistence.exceptions.i18n.JAXBExceptionResource, locale de_DE
at java.base@17.0.7/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2045)
at java.base@17.0.7/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1683)
at java.base@17.0.7/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1586)
at java.base@17.0.7/java.util.ResourceBundle.getBundle(ResourceBundle.java:1280)
at org.eclipse.persistence.exceptions.i18n.ExceptionMessageGenerator.buildMessage(ExceptionMessageGenerator.java:71)
at org.eclipse.persistence.exceptions.JAXBException.factoryMethodOrConstructorRequired(JAXBException.java:150)
at org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.finalizeProperties(AnnotationsProcessor.java:961)
at org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.processClassesAndProperties(AnnotationsProcessor.java:309)
at org.eclipse.persistence.jaxb.compiler.Generator.<init>(Generator.java:154)
at org.eclipse.persistence.jaxb.JAXBContext$TypeMappingInfoInput.createContextState(JAXBContext.java:1169)
... 9 more
thats why i thought i might fix it with that option
Is your feature request related to a problem? Please describe.
There are missing explanations in the documentation.
Describe the solution you'd like
Read the whole docs and see what is missing. Examples:
The text was updated successfully, but these errors were encountered: