faq NoClassDefFoundError org redisson config Config - padogrid/padogrid GitHub Wiki
I'm getting "Exception in thread "main" java.lang.NoClassDefFoundError: org/redisson/config/Config" when I run PadoGrid perf_test
for Redis.
When I run perf_test''s
test_ingestion` for Redis, I get the following exception.
Exception in thread "main" java.lang.NoClassDefFoundError: org/redisson/config/Config
at org.redis.addon.redisson.cluster.ClusterUtil.createConfig(ClusterUtil.java:57)
at org.redis.addon.redisson.cluster.ClusterUtil.createRedissonClient(ClusterUtil.java:76)
at org.redis.addon.redisson.test.perf.DataIngestionTest.init(DataIngestionTest.java:149)
at org.redis.addon.redisson.test.perf.DataIngestionTest.<init>(DataIngestionTest.java:140)
at org.redis.addon.redisson.test.perf.DataIngestionTest.main(DataIngestionTest.java:726)
Caused by: java.lang.ClassNotFoundException: org.redisson.config.Config
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 5 more
You need to first run the build_app
script to download the Redisson library before you can run any of the perf_test
scripts. The build_app
script runs Maven using the pom.xml
file located in the perf_test
directory. It places the Redisson jar file in the workspace plugins
directory, which is included in the perf_test
CLASSPATH
.
cd_app perf_test/bin_sh
./build_app