Hello,
I don't think it is a good idea to repackage or relocate common external
libraries. It looks like you moved everything to groupid=lib, this is a not
very common Maven usage. I am not saying you can't get it to work, but it needs
some advanced skills and it is unlikely we can easily help
Hello
My pom is as follows:
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
https://maven.apache.org/xsd/maven-4.0.0.xsd";>
4.0.0
1
p0
0.0.1
A Solr project
http://www.d
Hi Raivo,
Interesting problem. Would you share the entire error message and minimum
reproducible pom.xml?
Tomo
On Sat, Oct 31, 2020 at 07:17 Raivo Rebane wrote:
> Hello
>
> If I use single httpclient.jar it doesn't find HttpClient.class
>
> if I duplicate dependencies wuidth addisional httpcli
Hello
If I use single httpclient.jar it doesn't find HttpClient.class
if I duplicate dependencies wuidth addisional httpclient-beta.jar it
finds HttpClient.class
Then it didn't find HttpClientConnectionManager.class witch exist in
both jars :
org/apache/http/conn/OperatedClientConnection.c
Hello again
is the order of dependencies plays mattter ?
Raivo
On 31.10.20 12:07, Raivo Rebane wrote:
The screenshot is not delivered
I add class list got by command jar tf
repo/lib/httpclient/1.0/httpclient-1.0.jar here:
org/apache/http/client/version.properties
org/apache/http/client/Au
The screenshot is not delivered
I add class list got by command jar tf
repo/lib/httpclient/1.0/httpclient-1.0.jar here:
org/apache/http/client/version.properties
org/apache/http/client/AuthenticationStrategy.class
org/apache/http/client/HttpClient.class
org/apache/http/client/methods/HttpOptio
Hello
Hello
I run following command:
mvn exec:java -Dexec.mainClass="SolrJExample" -X
and get following error :
java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient
I use projct repo and dependencies is:
lib
httpclient
1.0
Hello
I run following command:
mvn exec:java -Dexec.mainClass="SolrJExample" -X
and get following error :
java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient
I use projct repo and dependencies is:
lib
httpclient
1.0