Skip to content

Commit

Permalink
Received an error in my log:
Browse files Browse the repository at this point in the history
bean-discovery-mode required attribute in beans.
I've upgraded the beans.xml file to the new version for JEE 7, but a new attribute is required. Set it to annotated. Only annotated beans are recognised,
(that is how I interpret it, anyways).
  • Loading branch information
maartenl committed Mar 15, 2014
1 parent a092896 commit b979c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/WEB-INF/beans.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd">
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd" bean-discovery-mode="annotated">
</beans>

0 comments on commit b979c89

Please sign in to comment.