12:33 am - Tuesday August 21, 2018

Hibernate Error – Error reading resource: com \\xml \\Student.hbm.xml

CANDID INDUSTRIAL TRAINING -- CHENNAI
Corporate Training for Experienced Candidate
Struts | Hibernate | Spring | Java / J2EE
SOAP | RestFull | Design Pattern | more...
Ph: +91 72000 69003
137b, 2nd st, shanthi nagar, Chrompet, Chennai -600044

Error:

Error reading resource: com\\xml\\Student.hbm.xml

Solution:

<property name="stumark1" column="StuMark1" />

Check whether this property appear correctly.
Property name is same name as pojo class variable name.

<mapping resource="com\\xml\\Student.hbm.xml"/>

Check this property also.
Here check the folder (com and xml)correctly and “\\” correctly.

For a Complete Source Code please click the below link

http://candidjava.com/hibernate-simple-program-using-webapplication-with-eclipse

Filed in: Z-A Hibernate codes

Comments are closed.