• Post Reply Bookmark Topic Watch Topic
  • New Topic

Invalid mapping document. No grammar found

 
Vadim Vararu
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Who knows what could be the problem with this mapping file?



There are no problems with config file. Here it is:


And there is my class (in the same package with mapping file):


So, when i try to run a public static void main() and just to create a SessionFactory, i get next error:
 
Hang a left on main. Then read this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!