jprante / elasticsearch-jdbc

JDBC importer for Elasticsearch
Apache License 2.0
2.84k stars 709 forks source link

Caused by: java.lang.NoClassDefFoundError: java/util/concurrent/atomic/LongAdder #681

Open Mice73 opened 9 years ago

Mice73 commented 9 years ago

Hi @jprante, I've this problem too :(. Do you know why? Thanks a lot. Massimo


at org.xbib.metrics.MeanMetric.(MeanMetric.java:9) ~[elasticsearch-jdbc-2.0.0.0-uberjar.jar:?] at org.xbib.elasticsearch.support.client.Metric.(Metric.java:16) ~[elasticsearch-jdbc-2.0.0.0-uberjar.jar:?] at org.xbib.elasticsearch.jdbc.strategy.standard.StandardContext.(StandardContext.java:83) ~[elasticsearch-jdbc-2.0.0.0-uberjar.jar:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_91] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_91] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_91] at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_91] at java.lang.Class.newInstance(Class.java:383) ~[?:1.7.0_91] at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373) ~[?:1.7.0_91] at java.util.ServiceLoader$1.next(ServiceLoader.java:445) ~[?:1.7.0_91] at org.xbib.elasticsearch.common.util.StrategyLoader.newContext(StrategyLoader.java:41) ~[elasticsearch-jdbc-2.0.0.0-uberjar.jar:?] at org.xbib.tools.JDBCImporter.process(JDBCImporter.java:110) ~[elasticsearch-jdbc-2.0.0.0-uberjar.jar:?] at org.xbib.tools.Importer.newRequest(Importer.java:215) ~[elasticsearch-jdbc-2.0.0.0-uberjar.jar:?] at org.xbib.tools.Importer.newRequest(Importer.java:54) ~[elasticsearch-jdbc-2.0.0.0-uberjar.jar:?] at org.xbib.pipeline.AbstractPipeline.call(AbstractPipeline.java:50) ~[elasticsearch-jdbc-2.0.0.0-uberjar.jar:?] at org.xbib.pipeline.AbstractPipeline.call(AbstractPipeline.java:16) ~[elasticsearch-jdbc-2.0.0.0-uberjar.jar:?] at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[?:1.7.0_91] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[?:1.7.0_91] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[?:1.7.0_91] at java.lang.Thread.run(Thread.java:745) ~[?:1.7.0_91]

jprante commented 9 years ago

Something went wrong with packaging, I will release a 2.0.0.1 version soon

jprante commented 9 years ago

Can you use Java 8?

Mice73 commented 9 years ago

I'm using Java 1.7 but if you want I can change version to check. Let me know.

Massimo

Mice73 commented 9 years ago

Ok, java 8! Bests!

jprante commented 9 years ago

I pushed version 2.0.0.1 which is also usable with Java 7.

Antoniossss commented 8 years ago

So what about this issue? I must have Java7 on prod and got the exception ;(

jprante commented 8 years ago

@Antoniossss which version do you use?