且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Java Jersey中使用CDI事件?

更新时间:2023-12-04 07:58:16

在遇到同样的问题后,我找到了解决方案.我从TomCat切换到Glassfish,并更新了Maven依赖项以匹配官方球衣的依赖项2个文档.之后,它就像魔术一样起作用.

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.