You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Florian Pirchner (JIRA)" <ji...@apache.org> on 2013/03/01 17:21:13 UTC

[jira] [Created] (ZOOKEEPER-1656) OSGI - Missing import package - ClassNotFoundException

Florian Pirchner created ZOOKEEPER-1656:
-------------------------------------------

             Summary: OSGI - Missing import package - ClassNotFoundException
                 Key: ZOOKEEPER-1656
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1656
             Project: ZooKeeper
          Issue Type: Bug
    Affects Versions: 3.4.5
         Environment: OSGi
            Reporter: Florian Pirchner


"Import package" are missing for bundle org.apache.hadoop.zookeeper.

I am getting an exception running the Zookeeper server in an OSGi environment.

ZookeeperServerMain uses
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

But there is no import in MANIFEST.mf:
Import-Package: javax.management,org.apache.log4j,org.osgi.framework;v
 ersion="[1.4,2.0)",org.osgi.util.tracker;version="[1.1,2.0)"


I am sure that another missing package would be the subpackage of org.apache.log4j like org.apache.log4j.jmx.


Best, Florian






--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira