[
https://jira.jboss.org/browse/WELD-740?page=com.atlassian.jira.plugin.sys...
]
Lincoln Baxter III commented on WELD-740:
-----------------------------------------
I believe this is even happening if the class files are referenced within the source class
that is being inspected. I had to completely remove all references from the class file in
order to get around this issue. This is a blocker for integrating Persistence with Faces,
and until it's resolve, I'm going to have little choice but to remove persistence
for the time being :(
NCDFE in Introspection process should not cause deployment to fail
------------------------------------------------------------------
Key: WELD-740
URL:
https://jira.jboss.org/browse/WELD-740
Project: Weld
Issue Type: Bug
Affects Versions: 1.1.0.Beta1
Reporter: Stuart Douglas
Currently a NoClassDefFoundError in the introspection process causes the deployment to
fail, I think that it should just log a warning and continue, so that we can support
optional dependencies.
Currently the exception is thrown is:
Caused by: java.lang.NoClassDefFoundError:
Lorg/jboss/seam/persistence/PersistenceContexts;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
at java.lang.Class.getDeclaredFields(Class.java:1743)
at
org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:115)
at
org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:111)
at
org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at
org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:67)
at
org.jboss.weld.util.reflection.SecureReflections.getDeclaredFields(SecureReflections.java:110)
at
org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:177)
at org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:140)
at
org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:50)
at
org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:38)
at com.google.common.collect.MapMaker$StrategyImpl.compute(MapMaker.java:592)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira