users@glassfish.java.net

Re: What would stop CDI from working?

From: <glassfish_at_javadesktop.org>
Date: Tue, 19 Oct 2010 07:56:37 PDT

Isn't it always the case, after hours of puzzling, you find the answer a few minutes after posting to a forum.

It turns out that you need a beans.xml file even if it is empty. Once I created the file CDI seems to work again. I found a discussion of that here:

http://relation.to/13347.lace

Sorry for the useless post.
[Message sent by forum member 'alan94539']

http://forums.java.net/jive/thread.jspa?messageID=485602