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

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

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598219#comment-13598219 ] 

Arnoud Glimmerveen commented on ZOOKEEPER-1656:
-----------------------------------------------

Some fixes have been done in this area (see ZOOKEEPER-1647 and related issues). Are you still having trouble with 3.4.6/3.5.0 development versions?
                
> 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