This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes The matching wildcard is strict, but no declaration can be found for element 'context:annotation' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "The matching wildcard is strict, but no declaration can be found for element Watch "The matching wildcard is strict, but no declaration can be found for element New topic
Author

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

Kshitiz Agarwal
Ranch Hand

Joined: Dec 15, 2011
Posts: 36
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

Joined: Dec 15, 2011
Posts: 36
I got it but now this one is coming...


How to specify schemaLocation then?
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3816

You don't have a equivalent declaration for "tx" as with others in the middleware-dao.xml.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Kshitiz Agarwal
Ranch Hand

Joined: Dec 15, 2011
Posts: 36
I solved it ... here isb the schemaLocation:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The matching wildcard is strict, but no declaration can be found for element 'context:annotation'
 
Similar Threads
(Camel-spring ) BeanDefinitionStoreException
using ClassPathXmlApplicationContext to load beans
Spring and namespace-aware parser
[beans.xml] cannot be opened because it does not exist
Configuration problem: