Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

psicquic-solr-ws problem with dependencies. #2

Open
noedelta opened this issue Aug 18, 2016 · 1 comment
Open

psicquic-solr-ws problem with dependencies. #2

noedelta opened this issue Aug 18, 2016 · 1 comment

Comments

@noedelta
Copy link
Member

From @GoogleCodeExporter on March 18, 2015 11:1

I had problems to launch the solr ws following the steps described at 
https://code.google.com/p/psicquic/wiki/HowToInstallPsicquicAndSolrJetty

As soon as when I try to build the index (or during the tests launched during 
the compilation -mvn clean install-), a dependency is not found:

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/mortbay/component/LifeCycle
….
    at org.hupo.psi.mi.psicquic.ws.indexing.MitabIndexerAndJettyRunner.main(MitabIndexerAndJettyRunner.java:67)


By looking deeper at the dependency hierarchy, I found that with the last 
version of cxf, the newer eclipse jetty library are imported, while 
psicquic-solr import jetty from mortbay. I conclude that at run time, jetty 
from mortbay is used but fail to find its dependencies in the new eclipse 
libraries.

I was able to make the scripts run by 

1) downgrading the version of cxf to 2.5.2
2) excluding all jetty libraries imported from eclipse from the cxf dependency
3) import mortbay jetty-util library.
4) do not exclude 

I’ve attached the modified pom.xml file.

This is only a quick fix, it would probably may be better to upgrade all 
psicquic libraries to rely on the newer jetty libraries (eclipse).


Original issue reported on code.google.com by arnaud.ceol on 10 Dec 2013 at 1:42

Attachments:

Copied from original issue: MICommunity/psicquic#33

@bblodfon
Copy link
Member

bblodfon commented Aug 1, 2018

This should probably be in the psicquic-solr-ws module...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants