tags:

views:

498

answers:

1

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'flex:remoting-destination

i got this error when i tried to build my file i wrote the 'flex:remoting-destination' in a web-application-config file can any one help me regarding this.

A: 

You probably forgot to declare the flex namespace. Paste this at the top of your web-application-config.xml (noting the xmlns:flex part):

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:flex="http://www.springframework.org/schema/flex"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
 http://www.springframework.org/schema/beans
 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
 http://www.springframework.org/schema/flex 
 http://www.springframework.org/schema/flex/spring-flex-1.0.xsd"&gt;
Bart