# I have a problem in the picture below

**URL:** <https://discourse.hibernate.org/t/i-have-a-problem-in-the-picture-below/449>\
**Category:** Hibernate ORM\
**Created:** [March 29, 2018, 12:43am UTC](https://discourse.hibernate.org/t/i-have-a-problem-in-the-picture-below/449 "2018-03-29T00:43:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lakhder](https://avatars.discourse-cdn.com/v4/letter/l/df705f/32.png) [@lakhder](https://discourse.hibernate.org/u/lakhder)\
**Post date:** [March 29, 2018, 12:43am UTC](https://discourse.hibernate.org/t/i-have-a-problem-in-the-picture-below/449/1 "2018-03-29T00:43:46Z")

</div>

![Capture1](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/hibernate/original/1X/e25671cf4cc592b2010263ef7d006be191142099.PNG)

---

<div class="post-metadata">

**Author:** ![vlad](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/vlad/32/658_2.png) [@vlad](https://discourse.hibernate.org/u/vlad)\
**Post date:** [March 29, 2018, 4:54am UTC](https://discourse.hibernate.org/t/i-have-a-problem-in-the-picture-below/449/2 "2018-03-29T04:54:34Z")

</div>

It’s a Class loading issue. Just use Maven to setup your project dependencies, not the IDE and you’ll be fine.

---

<div class="post-metadata">

**Author:** ![lakhder](https://avatars.discourse-cdn.com/v4/letter/l/df705f/32.png) [@lakhder](https://discourse.hibernate.org/u/lakhder)\
**Post date:** [March 29, 2018, 1:05pm UTC](https://discourse.hibernate.org/t/i-have-a-problem-in-the-picture-below/449/3 "2018-03-29T13:05:46Z")

</div>

thinks  
but can you show me how i do that

---

<div class="post-metadata">

**Author:** ![vlad](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/vlad/32/658_2.png) [@vlad](https://discourse.hibernate.org/u/vlad)\
**Post date:** [March 29, 2018, 1:19pm UTC](https://discourse.hibernate.org/t/i-have-a-problem-in-the-picture-below/449/4 "2018-03-29T13:19:08Z")

</div>

> but can you show me how i do that

When you say that, what exactly are you talking about?

---

<div class="post-metadata">

**Author:** ![lakhder](https://avatars.discourse-cdn.com/v4/letter/l/df705f/32.png) [@lakhder](https://discourse.hibernate.org/u/lakhder)\
**Post date:** [March 29, 2018, 1:21pm UTC](https://discourse.hibernate.org/t/i-have-a-problem-in-the-picture-below/449/5 "2018-03-29T13:21:53Z")

</div>

i use intellij idea and i need to know the setup to make project dependencies with maven

---

<div class="post-metadata">

**Author:** ![vlad](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/vlad/32/658_2.png) [@vlad](https://discourse.hibernate.org/u/vlad)\
**Post date:** [March 29, 2018, 1:23pm UTC](https://discourse.hibernate.org/t/i-have-a-problem-in-the-picture-below/449/6 "2018-03-29T13:23:19Z")

</div>

[Maven documentation](http://maven.apache.org/guides/) is a good place to start.

---

<div class="post-metadata">

**Author:** ![lakhder](https://avatars.discourse-cdn.com/v4/letter/l/df705f/32.png) [@lakhder](https://discourse.hibernate.org/u/lakhder)\
**Post date:** [March 29, 2018, 2:15pm UTC](https://discourse.hibernate.org/t/i-have-a-problem-in-the-picture-below/449/7 "2018-03-29T14:15:51Z")

</div>

always the same error ☹

---

<div class="post-metadata">

**Author:** ![vlad](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/vlad/32/658_2.png) [@vlad](https://discourse.hibernate.org/u/vlad)\
**Post date:** [March 29, 2018, 3:24pm UTC](https://discourse.hibernate.org/t/i-have-a-problem-in-the-picture-below/449/8 "2018-03-29T15:24:25Z")

</div>

Once you set the Maven project, just run:

```
mvn dependency:tree

```

And you’ll get all dependencies. This way, you can track your problem.
