On Thu, Nov 19, 2009 at 2:33 PM, Cobarzan Laura <[email protected]> wrote: > Hello, > > I have a simple Hello World project that uses the log4j library. What is > strange is that the log4j bundle is installed and started without any > problems, but it through errors saying that it cannot find the needed class > (from log4j) library. > Did anyone faced already this problem?
Hi, it's difficult to say what's going wrong in your case, since log4j works well in any OSGi environment. A few questions to get started: 1) can you open the console and type "ps" ? The command displays the list of installed bundles. Is the log4j bundle installed and active? 2) where did you get the log4j bundle? Is it really an OSGi bundle or just the normal Java library? 3) can you check with the console if your log4j bundle export the "org/apache/log4j" package? Regards, -- Filippo Diotalevi --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

