Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Very old stax implementation causes Error in relation with quarkus and Hibernate

Open
#1,928 6 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java

Research direction

Start by tracing which dependency brings javax.xml.stream:stax-api into projects using microsoft-graph version 6.30 or later, then reproduce the failure with Quarkus and Hibernate ORM. Done means the provider error no longer occurs without requiring users to manually exclude stax-api.

Written by the indexing model from the issue text.

Description

Needs: Attention :wave: type:question

I have different Quarkus projects which use com.microsoft.graph:microsoft-graph and io-quarkus:quarkus-hibernate-orm. After upgrading microsoft-graph to >= 6.30 i always get this error:

Runtime java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkus.narayana.jta.deployment.NarayanaJtaProcessor#build threw an exception: javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream.MXParserFactory not found

After some painfull investigations i come arround that the solution was for me to exclude javax.xml.stream:stax-api which is come from this lib.

I am a little bit confused you ship a lib which is developed in 2008. I think it comes from this issue (https://github.com/microsoft/kiota-java/issues/1755), but isn´t there a better solution?

Dominant language
Java
Stars
38
Forks
34
Avg merge
14h 29m
Merged PRs (30d)
22

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/kiota-java

All issues in microsoft/kiota-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.