8 Replies Latest reply on Jan 26, 2010 2:41 PM by Denis Golovin

    Error in component.xml in Eclipse Errors-

    Rocky S Master

      In my component.xml,

       

      I do see this error-

       

      cvc-elt.1: Cannot find the declaration of element 'components'. components.xml AdditionalExposureManager/src/META-INF line 17 XML Problem

       

      Can you please let me know what is missing here?

       

      <?

       

      xml version="1.0" encoding="UTF-8"?>

      <

       

      components xmlns="http://jboss.com/products/seam/components"

       

      xmlns:core="http://jboss.com/products/seam/core"

       

      xmlns:persistence="http://jboss.com/products/seam/persistence"

       

      xmlns:drools="http://jboss.com/products/seam/drools"

       

      xmlns:bpm="http://jboss.com/products/seam/bpm"

       

      xmlns:security="http://jboss.com/products/seam/security"

       

      xmlns:mail="http://jboss.com/products/seam/mail"

       

      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

       

      xsi:schemaLocation=

       

      "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.1.xsd

      http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.1.xsd

      http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.1.xsd

      http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.1.xsd

      http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.1.xsd

      http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.1.xsd

      http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.1.xsd"

       

      >

       

       

      <persistence:managed-persistence-context name="AEEntityManager" auto-create="true" persistence-unit-jndi-name="java:/AEManagerFactory" ></persistence:managed-persistence-context>

      </

       

      components>