[
https://jira.jboss.org/browse/WELD-740?page=com.atlassian.jira.plugin.sys...
]
Pete Muir commented on WELD-740:
--------------------------------
We need the full cause stack.
In general it does warn and continue, so either we are entering this using another path or
the check isn't complete.
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