How to use CDI Events in Java Jersey?

后端 未结 1 1342
迷失自我
迷失自我 2021-01-19 23:59

I am trying to follow this post\'s upvoted answer: Best practice for REST token-based authentication with JAX-RS and Jersey

I\'m using the CDI approach and in my fil

相关标签:
1条回答
  • 2021-01-20 00:19

    After struggling with the same exact issue I found a solution to that. I switched from TomCat to Glassfish and updated maven dependencies to match the ones from official Jersey 2 documentation. After that it worked like magic.

    0 讨论(0)
提交回复
热议问题