aspose file tools*
The moose likes Spring and the fly likes The matching wildcard is strict, but no declaration can be found for element 'flow:registry' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
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 'flow:registry'

Faraz Ali
Ranch Hand

Joined: May 15, 2008
Posts: 108
Hi,

I am getting the exception below while running a spring web flow program.




I am not using DOCTYPE, as removing it also reduce the exceptions.

This is beans tag:


and this is my flow tag:



I am stuck here. I tried many things but nothing working. I am using Spring framework 3.0.0 and Spring WebFLow 2.0.8.


Thank you very much.
Faraz Ali
Ranch Hand

Joined: May 15, 2008
Posts: 108
Any updates?
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Your XML parser is attempting to validate against your linked schema locations - and the 'registry' tag doesn't appear in the schema at http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd

There is a 'flow-registry' tag in the schema at http://www.springframework.org/schema/webflow-config/spring-webflow-config-2.0.xsd


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Faraz Ali
Ranch Hand

Joined: May 15, 2008
Posts: 108
I tried this xsd also, and tried everything, but not working at all. the last thing i can do is to install a new eclipse+new java+new jboss+new prj everything new.



Can you tell which version of spring & webflow you are using?

what do you mean by "parser is attempting to validate against your linked schema locations". how to disable this feature.


Thanks,
 
 
subject: The matching wildcard is strict, but no declaration can be found for element 'flow:registry'