hi, today I checked my poms. My mistake was that I didn't specified the dependency on the core. However, the core library was in the same folder as the API, according to the manual. So, if log4j2 is used in an OSGi-environment, you have to specify the dependencies on the core and on the api in the POM, otherwise the libraries are not added to the bundle-ClassLoader. The manual should address this relation, because the error message is misleading in this case.
Thx and regards -- View this message in context: http://apache-logging.6191.n7.nabble.com/Discussion-about-correct-initialization-of-log4j2-in-OSGi-context-tp39733p40133.html Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
