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

[jira] [Commented] (ZOOKEEPER-1745) Wrong Import-Package in the META-INF/MANIFEST.MF of zookeeper 3.4.5 bundle

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

Flavio Junqueira commented on ZOOKEEPER-1745:
---------------------------------------------

Is migrating to the 3.4 branch a possibility for you guys?

> Wrong Import-Package in the META-INF/MANIFEST.MF of zookeeper 3.4.5 bundle
> --------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1745
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1745
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.4.5
>         Environment: Java 7
>            Reporter: Xilai Dai
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.4.6, 3.5.0
>
>
> 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)"
> the "org.apache.log4j" should be replaced by "org.slf4j", because from the source codes, zookeeper server classes import org.slf4j.* for logging.
> currently will get: 
> Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
> 	at org.apache.zookeeper.server.quorum.QuorumPeerConfig.<clinit>(QuorumPeerConfig.java:46)
> when try to create instance for some of its classes in OSGi container (e.g. apache karaf)



--
This message was sent by Atlassian JIRA
(v6.1#6144)