- This topic has 3 replies, 2 voices, and was last updated 16 years, 1 month ago by Loyal Water.
-
AuthorPosts
-
jslate73ParticipantI’m using Spring and DWR, and I’m getting the following warnings for any lines in my Spring configuration files that have <dwr:configuration>:
Unable to locate Spring NamespaceHandler for element ‘dwr:configuration’ of schema namespace ‘http://www.directwebremoting.org/schema/spring-dwr’
If I hover over the <dwr:configuration> tag, I get the full description of the tag and what it does from the schema (“The element that can be used to specify DWR configuration that does not relate directly to a Spring-managed bean.” So it seems to be reading the schema okay.
I have the following user specified entry in my XML catalog:
Location: mumms/WebContent/WEB-INF/config/spring-dwr-2.0.xsd
URI: platform:/resource/mumms/WebContent/WEB-INF/config/spring-dwr-2.0.xsd
Key Type: Namespace Name
Key: http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd(I have to point out here that the interface for adding entries here is kinda ridiculous. You have to select “User Specified Entries” and then scroll down like a mile to see the add/edit/delete options.)
In general it seems like you need to be some kind of an XML schema expert to troubleshoot these kinds of problems, it is all rather non-intuitive in MyEclipse to me anyway. 🙁
Loyal WaterMemberCan you please check if this link helps:-
http://jira.springframework.org/browse/IDE-865
jslate73ParticipantOh, so reading this:
Please note that there is no DWR support within Spring IDE. Once you have the XSD corrected imported you will get warnings like: Unable to locate Spring NamespaceHandler for element ‘dwr:controller’ of schema namespace ‘http://www.directwebremoting.org/schema/spring-dwr’.
That basically means that the DWR team either needs to provide Eclipse support for their namespace or at the very least use the Spring tools annotation on their XSD.
…makes me think this needs to be addressed by the DWR team. Maybe I’ll contact them.
Loyal WaterMemberYes, you should contact them. Let me know if you have any other queries for us.
-
AuthorPosts