[
https://issues.jboss.org/browse/WELD-941?page=com.atlassian.jira.plugin.s...
]
Stuart Douglas resolved WELD-941.
---------------------------------
Assignee: Stuart Douglas
Fix Version/s: 1.1.2.Final
Resolution: Done
I have moved these error to their own category to make them easy to filter.
Log stacktrace following "WELD-000119 Not generating any bean
definitions" at TRACE level.
------------------------------------------------------------------------------------------
Key: WELD-941
URL:
https://issues.jboss.org/browse/WELD-941
Project: Weld
Issue Type: Enhancement
Affects Versions: 1.1.1.Final
Reporter: Ondrej Zizka
Assignee: Stuart Douglas
Fix For: 1.1.2.Final
Currently, the stack trace is logged at DEBUG level, which makes it hard to filter (see
below).
I suggest to log it with TRACE for that reason.
{code}
08:32:33.999 DEBUG [main] org.jboss.weld.Bootstrap WELD-000119 Not generating any bean
definitions from org.jboss.logging.JBossLogManagerProvider because of underlying class
loading error
08:32:34.001 DEBUG [main] org.jboss.weld.Bootstrap catching
org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.NoClassDefFoundError:
Lorg/jboss/logmanager/Logger$AttachmentKey;
at
org.jboss.weld.environment.se.discovery.url.WeldSEResourceLoader.classForName(WeldSEResourceLoader.java:70)
at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:83)
at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:133)
at org.jboss.weld.bootstrap.BeanDeployment.deployBeans(BeanDeployment.java:192)
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:370)
at org.jboss.weld.environment.se.Weld.initialize(Weld.java:87)
at org.jboss.jawabot.JawaBotApp.main(JawaBotApp.java:64)
Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/logmanager/Logger$AttachmentKey;
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.environment.se.discovery.url.WeldSEResourceLoader.classForName(WeldSEResourceLoader.java:58)
... 6 more
Caused by: java.lang.ClassNotFoundException: org.jboss.logmanager.Logger$AttachmentKey
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 10 more
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira