# FSCrawler not able to detect log42j.xml

**URL:** <https://discuss.elastic.co/t/fscrawler-not-able-to-detect-log42j-xml/282775>\
**Category:** Elasticsearch\
**Created:** [August 30, 2021, 5:21am UTC](https://discuss.elastic.co/t/fscrawler-not-able-to-detect-log42j-xml/282775 "2021-08-30T05:21:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pragyan\_prakash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pragyan_prakash/32/93388_2.png) [@Pragyan\_prakash](https://discuss.elastic.co/u/Pragyan_prakash)\
**Post date:** [August 30, 2021, 5:21am UTC](https://discuss.elastic.co/t/fscrawler-not-able-to-detect-log42j-xml/282775/1 "2021-08-30T05:21:15Z")

</div>

Trying to run the fscrawler.bat file using the command prompt but faced the following issue

Error: Could not find or load main class (1)\fscrawler-es7-2.8-SNAPSHOT.config.log4j2.xml  
Caused by: java.lang.ClassNotFoundException: (1)\fscrawler-es7-2.8-SNAPSHOT.config.log4j2.xml

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 30, 2021, 6:59am UTC](https://discuss.elastic.co/t/fscrawler-not-able-to-detect-log42j-xml/282775/2 "2021-08-30T06:59:42Z")

</div>

Welcome!

Could you try with the 2.7 version?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 27, 2021, 6:59am UTC](https://discuss.elastic.co/t/fscrawler-not-able-to-detect-log42j-xml/282775/3 "2021-09-27T06:59:51Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
