Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Patching Jersey to use asm-4

this is a follow-up post to the twitter discussion i had on Google App Engine (Twitter Conversation)

The Problem is that Jersey and GAE won't work together with datanuceleus 2.0, since GAE needs ASM 4.0 but Jersey needs 3.1. A detailed description and easy solution on that is available here: GAE and Jersey Problem description

There are several posts on questions here on Stackoverflow, so I opened this thread to collaborate with Google's Teams to solve this issue.

I simply switched from Datanuceleus 2.0 to 1.0 and Jersey was working again. Do you have any other suggestions? Especially since 2.0 would be great to use.

Greetings,

Mario

like image 771
Mario Meir-Huber Avatar asked Mar 12 '26 18:03

Mario Meir-Huber


1 Answers

Another solution is to use version 1.18.1 of Jersey, which is no more dependent on asm 3.0 and contains a repackaged version of asm, you can check it here: http://mvnrepository.com/artifact/com.sun.jersey/jersey-bundle/1.18.1 This will work in GAE.

like image 75
andreacipriani Avatar answered Mar 15 '26 06:03

andreacipriani



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!