Menu

$classCustomCodeFields error

General
Anonymous
2012-03-29
2013-04-24
  • Anonymous

    Anonymous - 2012-03-29

    After I have add in config.xml
    <annotations>
            <class name="mind.Mindsentences">
                <imports>
                    <import>org.hibernate.search.annotations.*</import>
                </imports>
                <classAnnotation><![CDATA]></classAnnotation>
                <customClassCode>

                </customClassCode>
                <property name="id">
                    <annotation type="getter"><![CDATA]></annotation>
                </property>
                <property name="sentence">
                    <annotation type="getter"><![CDATA]></annotation>
                </property>
            </class>
        </annotations>

    it appears in generated POJO class:
    public class Mindsentences implements Cloneable, Serializable, IPojoGenEntity, IMindsentences {

    /** Serial Version UID. */
    private static final long serialVersionUID = -558992674L;
    $classCustomCodeFields

    Its have other error too:

    2012-03-27 22:29:09,779 - Null reference  : $classCustomCodeFields cannot be resolved.

     
  • Anonymous

    Anonymous - 2012-03-29

    Try changing that to:
    <customClassCode>
    <![CDATA]>
                </customClassCode>

     

Log in to post a comment.