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

JAXP Error #284

Closed
melloware opened this issue Nov 6, 2024 · 1 comment · Fixed by #285
Closed

JAXP Error #284

melloware opened this issue Nov 6, 2024 · 1 comment · Fixed by #285
Assignees
Labels
bug Something isn't working

Comments

@melloware
Copy link
Contributor

melloware commented Nov 6, 2024

Original ticket: melloware/quarkus-faces#496

I don't know if this issue will be considered relevant, but when running the native image the first time (some weeks ago), I had this issue:

Could not load or parse web.xml: javax.xml.xpath.XPathExpressionException: java.util.MissingResourceException: Could not load any resource bundle by com.sun.org.apache.xml.internal.res.XMLErrorResources
This was something I solved by importing the following dependency:

<dependency>
	<groupId>io.quarkus</groupId>
	<artifactId>quarkus-jaxp</artifactId>
</dependency>

I can't remember where I read about this, but it was the solution for me.

I don't follow this repo's pom.xml strictly, but shouldn't this (or any other XML related dependency?) be declared explicitly in some Faces-related extension or at least in this repo's pom.xml? I can say it wasn't very easy (for me, at least) to find the solution for this problem in the beginning, and I suppose that it doesn't happen in this repo because some of the dependencies, most of which I didn't add to my pom.xml, import the required XML API...

Thanks for the attention!

cc @redddcyclone

@redddcyclone
Copy link

Great, thanks a lot @melloware!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants