microsoft / ApplicationInsights-Java

Application Insights for Java
http://aka.ms/application-insights
Other
295 stars 199 forks source link

JAVA - Caused by: java.lang.NoClassDefFoundError: org/apache/http/impl/conn/PoolingClientConnectionManager #307

Closed SergeyKanzhelev closed 7 years ago

SergeyKanzhelev commented 8 years ago

Copy from: https://github.com/Microsoft/ApplicationInsights-Home/issues/55

@oak-tree reported:

I'm using Java,Tomcat, Spring and log4js. I'm trying to use applicationinsights with those tools. I followed this links https://azure.microsoft.com/en-us/documentation/articles/app-insights-java-get-started/

But i get Caused by: java.lang.NoClassDefFoundError: org/apache/http/impl/conn/PoolingClientConnectionManager

Ok it seems that applicationInsights has dependency on https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient/4.5.2 maybe its worth to update the documents for that?

Dmitry-Matveev commented 7 years ago

1.0.7 release includes all Core JAR dependencies within the JAR itself (shadow JAR), this issue should be addressed.