Hi is module.getId() a String and not a json object? We would need the exact payload you return to check what's happening.
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-05-31 14:33 GMT+02:00 tam <[email protected]>: > Dear colleagues, > > until recently, I have been using 1.7.4 for developing a web app. I had the > following Gradle setup (most probably not optimal, but working): > > > > I am writing REST services like this: > > > > where Module is a POJO having javax.xml.bind... annotations. > > When migrating to 7.0.0, I wanted to do things right, using > > > > No matter whether I replaced the latter two by providedCompile as well or > not, I got an error, obviously while trying to serialize the response to my > POST (probably while trying to serialize the response content of type > Long): > > > > Is there anything special to note about that JAX-RS library? Using my old > Gradle config with the new TomEE release doesn't help either, so for the > moment I'm stuck with 1.7.4. > > Thanks in advance for any hint. > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/JsonGenerationException-after-migrating-to-7-0-0-tp4678684.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
