this morning I used glassfish update tool to update the server when the process is finished I find that Eclipse can't recognize javax.enterprise.context package (CDI), how can I rollback installed updates?? http://im61.gulfup.com/uqpxlA.png
Asked
Active
Viewed 4,729 times
2 Answers
1
javax.enterprise.context.SessionScoped
is missing in Glassfish 4.1. It's a bug.

fedorqui
- 275,237
- 103
- 548
- 598

Michel Froment
- 11
- 1
-
i use Netbeans 8.0.1 when i declare a new jsf managed bean whith session , it is created whith import javax.entreprise.context.SessionScoped but doesn't exist in the package and the same code doesn't work – Michel Froment Oct 30 '14 at 13:05
-
1download this zip: http://sourceforge.net/projects/jboss/files/Weld/2.2.0.SP1/ (49.7 MB)after you extract it, go to: weld-2.2.0.SP1\artifacts\cdi and add this jar to your project "cdi-api" and it will work, it works for me, but I'm still on glassfish 4.0, let me know if it works – user3923327 Oct 30 '14 at 16:17