问题
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
回答1:
I delete the server and reinstalle it, now it works, Glassfish 4.1 Bug
回答2:
javax.enterprise.context.SessionScoped
is missing in Glassfish 4.1. It's a bug.
来源:https://stackoverflow.com/questions/26076613/the-package-javax-enterprise-context-is-missing-after-glassfish-update