change to 2.0.xsd same error
I changed to the 2.0 xsd,
<beans:beans xmlns="http://www.springframework.org/schema/integration"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:file="http://www.springframework.org/schema/integration/file"
xmlns:groovy="http://www.springframework.org/schema/integration/groovy"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schem...ring-beans.xsd
http://www.springframework.org/schema/integration
http://www.springframework.org/schem...ration-2.0.xsd
http://www.springframework.org/schema/integration/file
http://www.springframework.org/schem...ation-file.xsd
http://www.springframework.org/schem...gration/groovy
http://www.springframework.org/schema/integration/groovy/spring-integration-groovy.xsd">
Same Error:
org.springframework.beans.factory.xml.XmlBeanDefin itionStoreException: Line 52 in XML document from class path resource [org/springframework/integration/samples/filecopy/loadConfig.xml] is invalid; nested exception is org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'integration:innerPollerType' to a(n) 'type definition' component.