Hi everybody.
Sorry if this isn't the right place for this issue, but I didn't know where to post it.
When validating my app config xml, I get the error
The details of this error:HTML Code:Referenced file contains errors (jar:file:/home/stefano/.m2/repository/org/springframework/spring-beans/3.1.1.RELEASE/spring-beans-3.1.1.RELEASE.jar!/org/springframework/beans/factory/xml/spring-tool-3.1.xsd)
The most strange thing is that the error disappears when I get rid of the section about the repositories (obviously this is not a solution)HTML Code:sch-props-xorrect.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of [url]http://springframework.org/schema/tool,annotation[/url] | Line 17 sch-props-xorrect.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of [url]http://springframework.org/schema/tool,typedParameterType[/url] | Line 37 sch-props-xorrect.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of [url]http://springframework.org/schema/tool,assignableToType[/url] | Line 41 sch-props-xorrect.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of [url]http://springframework.org/schema/tool,expectedMethodType[/url] | Line 54 sch-props-xorrect.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of [url]http://springframework.org/schema/tool,exportsType[/url] | Line 80 sch-props-xorrect.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of [url]http://springframework.org/schema/tool,ergistersScopeType[/url] | Line 103
where jpa namespace is "http://www.springframework.org/schema/data/jpa" located at "http://www.springframework.org/schema/data/jpa/spring-jpa-1.1.xsd".HTML Code:<jpa:repositories base-package="...." />
Is there anyone who can hep me with this problem?
Thanks,
Stefano


Reply With Quote
