This content has been marked as final.
Show 3 replies
-
1. Re: Absent Code attribute in method
nickarls Jun 22, 2010 3:24 PM (in response to cayhorstmann)My un-educated guess is that you are including the EE-APIs and then NB is trying to run the application against them and not the actual implementations in the server. At least that is what some quick googling might suggest.
-
2. Re: Absent Code attribute in method
cayhorstmann Jun 22, 2010 5:39 PM (in response to cayhorstmann)I don't think it's that simple. NetBeans works fine for SOME CDI configurations, and what is failing now isn't very different from what was working a few hours earlier. So I don't think it's a general configuration issue.
That crummy error message is very infuriating. Is there some way of cranking up the log level to find out in more detail what Weld is trying to achieve?
-
3. Re: Absent Code attribute in method
cayhorstmann Jun 23, 2010 8:17 AM (in response to cayhorstmann)It wasn't Weld's fault in the end. NetBeans sometimes generates files <error>.class, and naturally Weld isn't prepared for that kind of nonsense. I'll have to find out why NetBeans does this.