[
https://issues.jboss.org/browse/JBDS-4182?page=com.atlassian.jira.plugin....
]
Nick Boldt edited comment on JBDS-4182 at 11/17/16 6:24 PM:
------------------------------------------------------------
As long as you install org.eclipse.thym.feature_2.1.0.201611071511 instead of
org.eclipse.thym.feature_2.0.0, this error does not occur.
So, when 2.1.0 is available on live staging or stable Central site, this shouldn't be
a problem anymore.
(But if you do accidentally install thym.2.0.0, you need to uninstall it to fix this
problem as it will drag in javax.servlet and break things.)
was (Author: nickboldt):
As long as you install org.eclipse.thym.feature_2.1.0.201611071511 instead of
org.eclipse.thym.feature_2.0.0, this error does not occur.
So, when 2.1.0 is available on live staging or stable Central site, this shouldn't be
a problem anymore.
(But if you do accidentally install thym.2.0.0, you need to uninstall it to fix this
problem as it will drag in javax.servlet and break things.
loader constraint violation in Cordova
--------------------------------------
Key: JBDS-4182
URL:
https://issues.jboss.org/browse/JBDS-4182
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Bug
Components: aerogear-hybrid, build, rpm
Affects Versions: 10.2.0.AM3
Environment: Installed:
{code}
I#➔ dnf info rh-eclipse46-devstudio | grep -i Installed -A5
Installed Packages
Name : rh-eclipse46-devstudio
Arch : x86_64
Epoch : 0
Version : 10.2
Release : 0.20161116.1342.el7
{code}
On Fedora 24 w/ JDK 8.
Reporter: Nick Boldt
Assignee: Gorkem Ercan
Priority: Blocker
Fix For: 10.2.0.GA
Attachments: use-constraint.cordova.png
Trying to run the *Hybrid Mobile Project* quickstart, after fix in JBDS-4150 (PR
https://github.com/eclipse/thym/pull/71 applied):
Steps to reproduce:
{code}
central > software/update > JBoss Hybrid Mobile Tools + Cordovasim > install;
restart
Help > install > /path/to/thym/repository/target/repository
Help > check for updates > install new thym stuff > restart
click 'hybrid mobile project' quickstart
{code}
Error thrown:
!use-constraint.cordova.png!
{code}
Error retrieving the Cordova plug-in registry catalog
loader constraint violation: when resolving method
"org.apache.http.impl.client.cache.CachingHttpClient.<init>(Lorg/apache/http/client/HttpClient;
Lorg/apache/http/client/cache/ResourceFactory;Lorg/apache/http/client/cache/HttpCacheStorage;
Lorg/apache/http/impl/client/cache/CacheConfig;)V"
the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) of the
current class,
org/eclipse/thym/core/plugin/registry/CordovaPluginRegistryManager, and the class loader
(instance of
org/eclipse/osgi/internal/loader/EquinoxClassLoader) for the method's defining class,
org/apache/http/impl/client/cache/CachingHttpClient, have different Class objects for the
type
org/apache/http/client/HttpClient used in the signature
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)