javax.enterprise.context is provided by cdi-api.jar (not by
weld-osgi-bundle.jar).
Thanks,
Romain
On 8/27/14 11:21 AM, William wrote:
> Dear experts,
>
> I am not sure it’s right place i post message, sorry for trouble you
> if posting wrong place.
> After I compile glassfish using snapshot version, I can’t find
> javax.enterprise.context package in weld-osgi-bundle.jar. However the
> official version of Glassfish4 have that package.
> If not existing, I can’t use CDI feature in project. For example, I
> can’t define a bean with javax.enterprise.context.SessionScoped. I
> don’t know what I missing. Could you please tell what I should do?
>
> ########################
> William
> 13502049134
> System Architect
> streetpoet_at_163.com <mailto:streetpoet_at_163.com>
> ########################
>