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

DataformatTest.snakeYaml test throws NoClassDefFoundError trustedTagInspector #5278

Closed
jamesnetherton opened this issue Sep 7, 2023 · 2 comments · Fixed by #5524
Closed
Assignees
Labels
area/testing bug Something isn't working test
Milestone

Comments

@jamesnetherton
Copy link
Contributor

Bug description

Quarkus 3.4.0 upgraded SnakeYAML to 2.1 and we see:

Caused by: java.lang.NoClassDefFoundError: org/yaml/snakeyaml/inspector/TrustedTagInspector
 	at org.apache.camel.component.snakeyaml.SnakeYAMLDataFormat.getYaml(SnakeYAMLDataFormat.java:146)
 	at org.apache.camel.component.snakeyaml.SnakeYAMLDataFormat.marshal(SnakeYAMLDataFormat.java:115)
 	at org.apache.camel.support.processor.MarshalProcessor.process(MarshalProcessor.java:64)
 	... 47 more
@zhfeng
Copy link
Contributor

zhfeng commented Nov 10, 2023

It seems that TrustedTagInspector has been removed in snakeyaml/snakeyaml@39a4b87

I'll try to upgrade SnakeYAML to 2.1 in camel to see if it could be fixed.

@zhfeng zhfeng self-assigned this Nov 10, 2023
@zhfeng
Copy link
Contributor

zhfeng commented Nov 10, 2023

Upstream camel PR:

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

Successfully merging a pull request may close this issue.

2 participants