• Post Reply Bookmark Topic Watch Topic
  • New Topic

The matching wildcard is strict, but no declaration can be found for element 'context:annotation'

 
Kshitiz Agarwal
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am trying to use spring jpa but facing a problem...




This is my xml file middleware-dao.xml



I have found many solutions in google but nothing helped me out..
 
Kshitiz Agarwal
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it but now this one is coming...


How to specify schemaLocation then?
 
Vijitha Kumara
Bartender
Posts: 3953
21
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't have a equivalent declaration for "tx" as with others in the middleware-dao.xml.
 
Kshitiz Agarwal
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I solved it ... here isb the schemaLocation:

 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. 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!