-
Bug
-
Resolution: Done
-
Major
-
2.2.0.SP1
-
None
When generating a proxy, ProxyFactory excludes static methods on Classes but not on Interfaces. Java 8 allows us to have static methods on Interface and Weld fails to create a proxy when we have it:
javax.servlet.ServletException: WELD-001524: Unable to load proxy class for bean Managed Bean [class sample.BackingBean] with qualifiers [@Default @Any @Named] with class class sample. BackingBean using classloader ModuleClassLoader for Module "deployment.JavaEE7Test.war:main" from Service Module Loader
Thanks for Shinsuke Oda-san for detailed blog about this issue.
http://odashinsuke.hatenablog.com/entry/2014/04/24/203850
http://odashinsuke.hatenablog.com/entry/2014/04/25/194216