Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 447
IlyaVorozhbit Avatar asked Dec 17 '25 15:12

IlyaVorozhbit


1 Answers

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.

like image 100
Roman C Avatar answered Dec 19 '25 04:12

Roman C



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!