I was trying to do mapping while creating a project.
=> This is how my code looks. I will write the error line by line.
When I type until this:
Until here, it does not show any error.
Once I start writing :
…….
, then it starts giving me error. ‘
In the above line of code, the error shows in https://hiberante……..
Given error: Error while downloading ‘http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd’ to ‘C:
Usersraju4.lemminxcachehttphibernate.sourceforge.nethibernate-mapping-3.0.dtd’ :
‘[java.io.FileNotFoundException] http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd with code: 404 Not
Found’.
- Element type “hibernate-mapping” must be declared.
- Element type “class” must be declared.
- Element type “id” must be declared.
- Element type “property” must be declared.
I have already enable dowlading from Maven.
I am trying to get rid of error and develop the project.
SUJAN SHRESTHA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.