0

I'm having issues using Hibernate on my project and can't find the error.

Errors: Errors Screenshot from Eclipse

hibernate.cfg.xml Hibernate Configuration File

1
  • 2
    Please do not post pictures of text. Post the text itself. That way people can use a search engine and find a solution to their problem. Commented Feb 5, 2019 at 15:50

1 Answer 1

1

You're missing the closing tag of the 'mapping' tag.

You either use

<mapping resource="Patient.hbm.xml"/>

or

<mapping resource="Patient.hbm.xml">
</mapping>

enter image description here

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks! Missed that one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.