All,
I created a new module for OpenNMS 1.6.1. In it, I'm doing logging.
I call the logger like this:
Category log() {
return ThreadCategory.getInstance(getClass());
}
It compiles fine. However, OpenNMS doesn't startup because it can't
find that method? How weird is that? See below log:
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'ticketerServiceLayer' defined in class
path resource [META-INF/opennms/applicationContext-troubleTicketer.xml]:
Cannot resolve reference to bean 'ticketerPlugin' while setting bean
property 'ticketerPlugin'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'ticketerPlugin': FactoryBean threw exception
on object creation; nested exception is java.lang.NoSuchMethodError:
org.opennms.core.utils.ThreadCategory.getInstance(Ljava/lang/Class;)Lorg/apache/log4j/Logger;
Anyone give any advice to what I may be doing wrong?
Thanks!
--
Aaron J. Paxson
---------
[email protected]
http://aaron.thepaxson5.org
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-devel mailing list
To *unsubscribe* or change your subscription options, see the bottom of this
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel