3

I'm writing a daemon for getting servers stats for some game.

In compilation I've get a message:

cannot access org.apache.commons.pool2.impl.GenericObjectPoolConfig class file for org.apache.commons.pool2.impl.GenericObjectPoolConfig not found

At this line of code:

this

enter image description here

1
  • You should post code when asking us to debug for you. Not just links (as they tend to rot away in time). Commented Apr 27, 2014 at 12:58

1 Answer 1

5

Add the required libraries to the classpath for commons-pool v2.0

The Apache Commons Pool open source software library provides an object-pooling API and a number of object pool implementations. Version 2 of Apache Commons Pool contains a completely re-written pooling implementation compared to the 1.x series. In addition to performance and scalability improvements, version 2 includes robust instance tracking and pool monitoring.

Version 2.7.x and up requires Java 8 or above. Version 2.6.x requires Java 7 or above. Version 2.5.x requires Java 7 or above. Version 2.0 requires 6 or above.

Sign up to request clarification or add additional context in comments.

2 Comments

So, I've added it. link But it doesn't help anyway
Download from maven repository search.maven.org/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.