karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-2028) org.apache.karaf.webconsole.console imports wrong version of org.osgi.service.deploymentadmin
Date Fri, 23 Nov 2012 13:59:03 GMT

     [ https://issues.apache.org/jira/browse/KARAF-2028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-2028:
----------------------------------------

    Fix Version/s: 2.2.10
    
> org.apache.karaf.webconsole.console 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
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.10
>
>
> 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