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

Improve plugins documentation #453

Open
dnestoro opened this issue Jun 13, 2023 · 1 comment
Open

Improve plugins documentation #453

dnestoro opened this issue Jun 13, 2023 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@dnestoro
Copy link
Collaborator

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:

  • how to pass command line arguments
@dnestoro dnestoro added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 13, 2023
@dnestoro dnestoro self-assigned this Jun 13, 2023
@damnms
Copy link

damnms commented Jun 26, 2023

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

graalvmNative {
    toolchainDetection = true
    binaries {
        main {
            buildArgs.add("--initalize-at-build-time=org.eclipse.persistence.exceptions.i18n.JAXBExceptionResource")
            buildArgs.add("--verbose")
        }
    }
}

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants