posted 15 years ago
Hi,
I had to enhance my project and add a new column to the database. I added this new column to the database, the hbm.xml, the pojo with set/get. When I restarted the server I am getting the following:
Could not read mappings from resource: BenchmarkCS.hbm.xml
at org.apache.naming.NamingContext.lookup(NamingContext.java:804)
at org.apache.naming.NamingContext.lookup(NamingContext.java:139)
at org.apache.naming.NamingContext.lookup(NamingContext.java:780)
at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
As soon as I remove the added property from the xml, the app starts working fine again. There are no typos or silly mistakes in naming (have made sure). WHAT COULD THE PROBLEM BE??? Please treat this question as urgent.