# java.lang.NoClassDefFoundError: Could not initialize class com.dremio.exec.work.foreman.AttemptManager

**URL:** <https://community.dremio.com/t/java-lang-noclassdeffounderror-could-not-initialize-class-com-dremio-exec-work-foreman-attemptmanager/5033>\
**Category:** Uncategorized\
**Created:** [February 11, 2020, 6:01pm UTC](https://community.dremio.com/t/java-lang-noclassdeffounderror-could-not-initialize-class-com-dremio-exec-work-foreman-attemptmanager/5033 "2020-02-11T18:01:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![idoor88](https://avatars.discourse-cdn.com/v4/letter/i/34f0e0/32.png) [@idoor88](https://community.dremio.com/u/idoor88)\
**Post date:** [February 11, 2020, 6:01pm UTC](https://community.dremio.com/t/java-lang-noclassdeffounderror-could-not-initialize-class-com-dremio-exec-work-foreman-attemptmanager/5033/1 "2020-02-11T18:01:42Z")

</div>

Hi, I installed dremio-community-4.1.4 jar and copied dremio-jdbc-driver-4.1.4-202001240912140359-a90eb503.jar into jars folder, started with dremio start, then accessed the web interface: [http://localhost:9047/](http://localhost:9047/), then clicked on add new source, then select Sample source, a new Samples source create, then select the Sample source, click on [samples.dremio.com](http://samples.dremio.com), then selected zip\_lookup.csv file, then a list of data shown up, then clicked save button, there is error message from server.log:

ERROR c.d.s.commandpool.CommandWrapper - command 21bd142a-8938-ad35-1de0-0fd9b57dd900:job-submission failed

java.lang.IncompatibleClassChangeError: null

at com.codahale.metrics.MetricRegistry.registerAll(MetricRegistry.java:512) ~[metrics-core-4.1.0.jar:4.1.0]

at com.codahale.metrics.MetricRegistry.registerAll(MetricRegistry.java:110) ~[metrics-core-4.1.0.jar:4.1.0]

at com.dremio.telemetry.api.metrics.Metrics.newTopReporter(Metrics.java:256) ~[dremio-services-telemetry-api-4.1.4-202001240912140359-a90eb503.jar:4.1.4-202001240912140359-a90eb503]

at com.dremio.exec.work.foreman.AttemptManager.(AttemptManager.java:96) ~[dremio-sabot-kernel-4.1.4-202001240912140359-a90eb503.jar:4.1.4-202001240912140359-a90eb503]

at com.dremio.exec.work.protector.Foreman.newAttemptManager(Foreman.java:207) ~[dremio-sabot-kernel-4.1.4-202001240912140359-a90eb503.jar:4.1.4-202001240912140359-a90eb503]

at com.dremio.exec.work.protector.Foreman.newAttempt(Foreman.java:191) ~[dremio-sabot-kernel-4.1.4-202001240912140359-a90eb503.jar:4.1.4-202001240912140359-a90eb503]

at com.dremio.exec.work.protector.Foreman.start(Foreman.java:150) ~[dremio-sabot-kernel-4.1.4-202001240912140359-a90eb503.jar:4.1.4-202001240912140359-a90eb503]

at com.dremio.exec.work.protector.ForemenWorkManager.submit(ForemenWorkManager.java:212) ~[dremio-sabot-kernel-4.1.4-202001240912140359-a90eb503.jar:4.1.4-202001240912140359-a90eb503]

at com.dremio.exec.work.protector.ForemenWorkManager$LocalQueryExecutorImpl.submitLocalQuery(ForemenWorkManager.java:548) ~[dremio-sabot-kernel-4.1.4-202001240912140359-a90eb503.jar:4.1.4-202001240912140359-a90eb503]

at com.dremio.service.jobs.LocalJobsService.startJob(LocalJobsService.java:490) ~[dremio-services-jobs-4.1.4-202001240912140359-a90eb503.jar:4.1.4-202001240912140359-a90eb503]

at com.dremio.service.jobs.LocalJobsService.lambda$submitJob$1(LocalJobsService.java:534) ~[dremio-services-jobs-4.1.4-202001240912140359-a90eb503.jar:4.1.4-202001240912140359-a90eb503]

at com.dremio.service.commandpool.CommandWrapper.run(CommandWrapper.java:62) ~[dremio-services-commandpool-4.1.4-202001240912140359-a90eb503.jar:4.1.4-202001240912140359-a90eb503]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0\_181]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0\_181]

at java.lang.Thread.run(Thread.java:748) [na:1.8.0\_181]

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [February 11, 2020, 10:43pm UTC](https://community.dremio.com/t/java-lang-noclassdeffounderror-could-not-initialize-class-com-dremio-exec-work-foreman-attemptmanager/5033/2 "2020-02-11T22:43:50Z")

</div>

@idoor88

Why did you have to copy the jdbc jar to the jars folder. Are you using the same host as a JDBC client, then you have to copy the JDBC jar to the client application’s library or jars folder, like for example if you want to use DBeaver then follow [JDBC using DBeaver](https://docs.dremio.com/client-applications/dbeaver.html)

Thanks  
Bali

---

<div class="post-metadata">

**Author:** ![idoor88](https://avatars.discourse-cdn.com/v4/letter/i/34f0e0/32.png) [@idoor88](https://community.dremio.com/u/idoor88)\
**Post date:** [February 13, 2020, 9:20pm UTC](https://community.dremio.com/t/java-lang-noclassdeffounderror-could-not-initialize-class-com-dremio-exec-work-foreman-attemptmanager/5033/3 "2020-02-13T21:20:47Z")

</div>

Thanks for your response, you are right, I described wrong, I copied the dremio jdbc jar file to the apache Drill jars/3rdparty folder and jdbc-driver folder, since the drill is the client to access dremio. for some reason, I re-installed the dremio and this error disappeared, but there is a table not found error, I started with a new topic for this error.

Thanks
