Skip to content

Commit

Permalink
Put back bean-discovery-mode="all".
Browse files Browse the repository at this point in the history
When set to "annotated", Tomcat 8.0.26 + Weld 2.2.9 failed with
java.lang.NullPointerException at
ReflectionDiscoveryStrategy#hasBeanDefiningAnnotation()
  • Loading branch information
Bauke Scholtz committed Sep 30, 2015
1 parent 865a629 commit 9193db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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"
version="1.1" bean-discovery-mode="annotated"
version="1.1" bean-discovery-mode="all"
>
<scan>
<exclude name="org.omnifaces.application.**" />
Expand Down

0 comments on commit 9193db4

Please sign in to comment.