File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Faraz Ali
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any updates?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Faraz Ali
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic