# Application runs with ant but not as jar

**URL:** <https://discourse.hibernate.org/t/application-runs-with-ant-but-not-as-jar/7509>\
**Category:** Hibernate Search\
**Created:** [April 14, 2023, 11:56am UTC](https://discourse.hibernate.org/t/application-runs-with-ant-but-not-as-jar/7509 "2023-04-14T11:56:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![VladDrakul1986](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/vladdrakul1986/32/2363_2.png) [@VladDrakul1986](https://discourse.hibernate.org/u/VladDrakul1986)\
**Post date:** [April 17, 2023, 6:41am UTC](https://discourse.hibernate.org/t/application-runs-with-ant-but-not-as-jar/7509/3 "2023-04-17T06:41:27Z")

</div>

i added a [solution](https://discourse.hibernate.org/t/missing-bean-when-using-hibernate-search-as-jar/6678/4) working for me

---

_[View the full topic](https://discourse.hibernate.org/t/application-runs-with-ant-but-not-as-jar/7509)._
