JSON serialization/deserialization ignoring @XmlAttribute names in WildFly 33

21 views
Skip to first unread message

jasi...@gmail.com

unread,
Mar 19, 2025, 2:24:16 PM3/19/25
to WildFly
I have several classes with fields defined like this

@XmlAttribute(name = "classpath-resource")

protected String classpathResource;


WildFly 26.1.2.Final used "classpath-resource" as the JSON attribute name, but WildFly 33.0.2.Final insists on using "classpathResource" instead. Is there some configuration I'm missing to make it use the jakarta Annotations that replaced the javax annotations? 

James Perkins

unread,
Apr 1, 2025, 6:09:00 PM4/1/25
to WildFly
Is this happening in a Jakarta REST endpoint? 
Reply all
Reply to author
Forward
0 new messages