org.xml.sax.SAXException: unable to find FieldDescriptor for 'skinmodule-entry' in ClassDescriptor of registry
at org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:767)
at org.exolab.castor.xml.util.DOMEventProducer.process(DOMEventProducer.java:245)
at org.exolab.castor.xml.util.DOMEventProducer.process(DOMEventProducer.java:182)
at org.exolab.castor.xml.util.DOMEventProducer.processChildren(DOMEventProducer.java:333)
at org.exolab.castor.xml.util.DOMEventProducer.process(DOMEventProducer.java:247)
at org.exolab.castor.xml.util.DOMEventProducer.process(DOMEventProducer.java:182)
at org.exolab.castor.xml.util.DOMEventProducer.processChildren(DOMEventProducer.java:333)
at org.exolab.castor.xml.util.DOMEventProducer.process(DOMEventProducer.java:134)
at org.exolab.castor.xml.util.DOMEventProducer.process(DOMEventProducer.java:170)
at org.exolab.castor.xml.util.DOMEventProducer.start(DOMEventProducer.java:110)
at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:290)
at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:374)

解决方案 »

  1.   

    unable to find FieldDescriptor for 'skinmodule-entry' in ClassDescriptor of registry读的哪个xml?可能这里的名字搞错了
      

  2.   

    <?xml version="1.0" encoding="UTF-8"?>
    <registry>
       <skinmodule-entry name="grey" hidden="false">
            <property name="text-color" value="#000000" hidden="false"/>
            <property name="background-color" value="#ffffff" hidden="false"/>
            <property name="title-text-color" value="#000000" hidden="false"/>
            <property name="title-background-color" value="#eeeeee" hidden="false"/>
            <property name="title-style-class" value="TitleStyleClass" hidden="false"/>
            <property name="highlight-text-color" value="#ffffff" hidden="false"/>
            <property name="highlight-background-color" value="#000000" hidden="false"/>
        </skinmodule-entry>
    </registry>