samedi 26 mars 2016

duplicate attribute used with the same name and target namespace are specified

Please help me here. I am getting an error in my xml as follows Description Resource Path Location Type

Referenced file contains errors (project-aware://60SpringBeanContextListener/org/springframework/beans/factory/xml/spring-beans-4.2.xsd).  For more information, right click on the message in the Problems View and select "Show Details..."   dao-context.xml /60SpringBeanContextListener/src/com/sharat/spring/web/config   line 1  XML Problem

My XML is simple and is as below

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://ift.tt/GArMu6"
    xmlns:xsi="http://ift.tt/ra1lAU"
    xmlns:context="http://ift.tt/GArMu7"
    xmlns:tx="http://ift.tt/OGfeU2"
    xsi:schemaLocation="http://ift.tt/GArMu6 http://ift.tt/1cQAoMK
        http://ift.tt/GArMu7 http://ift.tt/1K4FMgM
        http://ift.tt/OGfeU2 http://ift.tt/1LPyEkU">


    <context:annotation-config></context:annotation-config>
    <context:component-scan base-package="com.sharat.spring.web.dao"></context:component-scan>
</beans>

If i show details on the error i get the below

ct-props-correct.4: Error of type #AnonType ......

Could you please help me rectify this issue.

Thanks, Sharat




Aucun commentaire:

Enregistrer un commentaire