This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
a maven project has following bean class: @SessionScoped @Named public class Login implements Serializable { // <------ here netbeans complains ... } netbeans complains: "CDI artifact is found but there is no beans.xml file." However, there is a beans.xml file in WEB-INF and compilation and deployment works (only netbeans editor seems to have a problem with that). If I follow netbeans suggestion to create the beans.xml in "Other Sources --> src/main/resources" the bean is actually not found by CDI and the code doesn't work.
*** This bug has been marked as a duplicate of bug 203710 ***