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

JAXB: Not bound classes annotated with XmlSchema to the JaxbContext #27218

Merged
merged 1 commit into from Aug 11, 2022

Conversation

Sgitario
Copy link
Contributor

The classes annotated with @XmlSchema within package-info results into errors because the package-info is not a class.

These changes fix this issue by adding a package-info.java class and not bounding this class to the JAXBContext.

Fix #27003

The classes annotated with @XmlSchema within package-info results into errors because the package-info is not a class. 

These changes fix this issue by adding a package-info.java class and not bounding this class to the JAXBContext.

Fix quarkusio#27003
@Sgitario
Copy link
Contributor Author

@isarantidis can you confirm these changes solve all your problems?
cc @geoand

@isarantidis
Copy link

@Sgitario Yes, just confirmed. I run my example again and everything is ok.

@gsmet gsmet merged commit 6194c06 into quarkusio:main Aug 11, 2022
@quarkus-bot quarkus-bot bot added this to the 2.12 - main milestone Aug 11, 2022
@Sgitario Sgitario deleted the fix_jaxb_package_info branch August 11, 2022 08:43
@gsmet gsmet modified the milestones: 2.12.0.CR1, 2.11.3.Final Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JaxbProcessor should not register package-info to be bound to JaxbContext
4 participants