小编gia*_*tes的帖子

Glassfish 4.1 can't run RestFul service when using ear/ejb/web module

I've a lot of jee7 maven projects (ears with web and ejb modules) with RestFul services that run well on Glassfish v 4.0 but as soon as I try to run these projects on Glassfish v. 4.1 the RestFul services don't work anymore and they throw this exception:

javax.servlet.ServletException: A MultiException has 1 exceptions.  They are:
1. org.glassfish.hk2.api.UnsatisfiedDependencyException: There was no object available for injection at SystemInjecteeImpl(requiredType=TestBean,parent=GenericResource,qualifiers={},position=-1,optional=false,self=false,unqualified=null,82785107)
Run Code Online (Sandbox Code Playgroud)

I've double checked the problem and definitively Glassfish 4.1 probably has a broken …

java rest web-services glassfish

8
推荐指数
1
解决办法
7821
查看次数

标签 统计

glassfish ×1

java ×1

rest ×1

web-services ×1