karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xilai Dai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-2028) org.apache.felix.deploymentadmin imports wrong version of org.osgi.service.deploymentadmin
Date Fri, 23 Nov 2012 07:02:59 GMT
Xilai Dai created KARAF-2028:
--------------------------------

             Summary: org.apache.felix.deploymentadmin imports wrong version of org.osgi.service.deploymentadmin
                 Key: KARAF-2028
                 URL: https://issues.apache.org/jira/browse/KARAF-2028
             Project: Karaf
          Issue Type: Bug
          Components: karaf-webconsole
    Affects Versions: 2.2.9
            Reporter: Xilai Dai


Import-Package: ...
 ...  org.osgi.service.deploymentad
 min;resolution:=optional;version="[1.1,2)",


the version of deploymentadmin should be 1.0, please refer https://issues.apache.org/jira/browse/FELIX-3678

now will get this exception:

java.lang.NoClassDefFoundError: org/osgi/service/deploymentadmin/DeploymentException
	at java.lang.Class.getDeclaredConstructors0(Native Method)[:1.7.0_05]
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404)[:1.7.0_05]
	at java.lang.Class.getConstructor0(Class.java:2714)[:1.7.0_05]
	at java.lang.Class.newInstance0(Class.java:343)[:1.7.0_05]
	at java.lang.Class.newInstance(Class.java:325)[:1.7.0_05]
	at org.apache.felix.webconsole.internal.servlet.PluginHolder$InternalPlugin.doGetConsolePlugin(PluginHolder.java:761)[75:org.apache.karaf.webconsole.console:2.2.9]
	at org.apache.felix.webconsole.internal.servlet.PluginHolder$Plugin.getConsolePlugin(PluginHolder.java:532)[75:org.apache.karaf.webconsole.console:2.2.9]
	at org.apache.felix.webconsole.internal.servlet.PluginHolder.getLocalizedLabelMap(PluginHolder.java:242)[75:org.apache.karaf.webconsole.console:2.2.9]
	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:420)[75:org.apache.karaf.webconsole.console:2.2.9]
	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:384)[75:org.apache.karaf.webconsole.console:2.2.9]
	at org.apache.felix.webconsole.internal.KarafOsgiManager.doService(KarafOsgiManager.java:67)[75:org.apache.karaf.webconsole.console:2.2.9]
	at org.apache.felix.webconsole.internal.KarafOsgiManager$1.run(KarafOsgiManager.java:47)[75:org.apache.karaf.webconsole.console:2.2.9]


--
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

Mime
View raw message