org.jdom.JDOMException: Error on line 68 of document file:/C:/eclipse/workspace/bloggagg/build/gen-src/airline/hibernate/Channel.hbm.xml: The element type "property" must be terminated by the matching end-tag "</property>".

Hibernate JIRA | sudhir srinivasan | 1 decade ago
  1. 0

    I am trying to use hbm2java with middlegen generated hbm.xml files This is my build file task foor hgm2java. <target name="hbm2java" depends="middlegen" description="Generate .java from .hbm files."> <echo>running a search</echo> <java classname="net.sf.hibernate.tool.hbm2java.CodeGenerator" classpathref="hbm2java.class.path" > <arg value="--output=${build.classes.dir}"/> <arg value="--config=${basedir}/hbm2java.xml"/> <arg value="${build.dir}/gen-src/airline/hibernate/Channel.hbm.xml"/> </java> </target> Here is the file generated by middlegen . <?xml version="1.0"?> <!DOCTYPE hibernate-mapping SYSTEM "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" > <hibernate-mapping> <!-- Created by Middlegen Hibernate plugin http://boss.bekk.no/boss/middlegen/ http://hibernate.sourceforge.net/ --> <class name="airline.hibernate.Channel" table="channels" > <!-- simple properties --> <id generator-class="assigned" name="channelId" type="int" column="channel_id" not-null="true" length="3" > <property name="description" type="java.lang.String" column="description" length="255" > <property name="hits" type="int" column="hits" length="1" > <property name="lastUpdated" type="java.sql.Timestamp" column="last_updated" length="19" > <property name="site" type="java.lang.String" column="site" length="255" > <property name="creator" type="java.lang.String" column="creator" length="255" > <property name="publisher" type="java.lang.String" column="publisher" length="255" > <!-- associations --> </class> </hibernate-mapping> here is error [java] Oct 19, 2003 10:32:33 PM net.sf.hibernate.tool.hbm2java.CodeGenerator$1 error [java] SEVERE: Error parsing XML: file:/C:/eclipse/workspace/bloggagg/build/gen-src/airline/hibernate/Channel.hbm.xml(28) [java] org.xml.sax.SAXParseException: Attribute "generator-class" must be declared for element type "id". [java] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) [java] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(Unknown Source) [java] at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source) [java] at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:354) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:707) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:689) [java] at net.sf.hibernate.tool.hbm2java.CodeGenerator.main(CodeGenerator.java:93) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:208) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:150) [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:443) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:163) [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) [java] at org.apache.tools.ant.Task.perform(Task.java:341) [java] at org.apache.tools.ant.Target.execute(Target.java:309) [java] at org.apache.tools.ant.Target.performTasks(Target.java:336) [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1255) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335) [java] at org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172) [java] at java.lang.Thread.run(Thread.java:536) [java] Oct 19, 2003 10:32:33 PM net.sf.hibernate.tool.hbm2java.CodeGenerator$1 error [java] SEVERE: Error parsing XML: file:/C:/eclipse/workspace/bloggagg/build/gen-src/airline/hibernate/Channel.hbm.xml(28) [java] org.xml.sax.SAXParseException: Attribute "not-null" must be declared for element type "id". [java] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) [java] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(Unknown Source) [java] at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source) [java] at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:354) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:707) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:689) [java] at net.sf.hibernate.tool.hbm2java.CodeGenerator.main(CodeGenerator.java:93) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:208) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:150) [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:443) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:163) [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) [java] at org.apache.tools.ant.Task.perform(Task.java:341) [java] at org.apache.tools.ant.Target.execute(Target.java:309) [java] at org.apache.tools.ant.Target.performTasks(Target.java:336) [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1255) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335) [java] at org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172) [java] at java.lang.Thread.run(Thread.java:536) [java] Oct 19, 2003 10:32:33 PM net.sf.hibernate.tool.hbm2java.CodeGenerator$1 error [java] SEVERE: Error parsing XML: file:/C:/eclipse/workspace/bloggagg/build/gen-src/airline/hibernate/Channel.hbm.xml(68) [java] org.xml.sax.SAXParseException: The element type "property" must be terminated by the matching end-tag "</property>". [java] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) [java] at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:354) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:707) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:689) [java] at net.sf.hibernate.tool.hbm2java.CodeGenerator.main(CodeGenerator.java:93) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:208) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:150) [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:443) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:163) [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) [java] at org.apache.tools.ant.Task.perform(Task.java:341) [java] at org.apache.tools.ant.Target.execute(Target.java:309) [java] at org.apache.tools.ant.Target.performTasks(Target.java:336) [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1255) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335) [java] at org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172) [java] at java.lang.Thread.run(Thread.java:536) [java] org.jdom.JDOMException: Error on line 68 of document file:/C:/eclipse/workspace/bloggagg/build/gen-src/airline/hibernate/Channel.hbm.xml: The element type "property" must be terminated by the matching end-tag "</property>". [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:363) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:707) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:689) [java] at net.sf.hibernate.tool.hbm2java.CodeGenerator.main(CodeGenerator.java:93) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:208) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:150) [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:443) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:163) [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) [java] at org.apache.tools.ant.Task.perform(Task.java:341) [java] at org.apache.tools.ant.Target.execute(Target.java:309) [java] at org.apache.tools.ant.Target.performTasks(Target.java:336) [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1255) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335) [java] at org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172) [java] at java.lang.Thread.run(Thread.java:536)

    Hibernate JIRA | 1 decade ago | sudhir srinivasan
    org.jdom.JDOMException: Error on line 68 of document file:/C:/eclipse/workspace/bloggagg/build/gen-src/airline/hibernate/Channel.hbm.xml: The element type "property" must be terminated by the matching end-tag "</property>".
  2. 0

    I am trying to use hbm2java with middlegen generated hbm.xml files This is my build file task foor hgm2java. <target name="hbm2java" depends="middlegen" description="Generate .java from .hbm files."> <echo>running a search</echo> <java classname="net.sf.hibernate.tool.hbm2java.CodeGenerator" classpathref="hbm2java.class.path" > <arg value="--output=${build.classes.dir}"/> <arg value="--config=${basedir}/hbm2java.xml"/> <arg value="${build.dir}/gen-src/airline/hibernate/Channel.hbm.xml"/> </java> </target> Here is the file generated by middlegen . <?xml version="1.0"?> <!DOCTYPE hibernate-mapping SYSTEM "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" > <hibernate-mapping> <!-- Created by Middlegen Hibernate plugin http://boss.bekk.no/boss/middlegen/ http://hibernate.sourceforge.net/ --> <class name="airline.hibernate.Channel" table="channels" > <!-- simple properties --> <id generator-class="assigned" name="channelId" type="int" column="channel_id" not-null="true" length="3" > <property name="description" type="java.lang.String" column="description" length="255" > <property name="hits" type="int" column="hits" length="1" > <property name="lastUpdated" type="java.sql.Timestamp" column="last_updated" length="19" > <property name="site" type="java.lang.String" column="site" length="255" > <property name="creator" type="java.lang.String" column="creator" length="255" > <property name="publisher" type="java.lang.String" column="publisher" length="255" > <!-- associations --> </class> </hibernate-mapping> here is error [java] Oct 19, 2003 10:32:33 PM net.sf.hibernate.tool.hbm2java.CodeGenerator$1 error [java] SEVERE: Error parsing XML: file:/C:/eclipse/workspace/bloggagg/build/gen-src/airline/hibernate/Channel.hbm.xml(28) [java] org.xml.sax.SAXParseException: Attribute "generator-class" must be declared for element type "id". [java] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) [java] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(Unknown Source) [java] at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source) [java] at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:354) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:707) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:689) [java] at net.sf.hibernate.tool.hbm2java.CodeGenerator.main(CodeGenerator.java:93) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:208) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:150) [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:443) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:163) [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) [java] at org.apache.tools.ant.Task.perform(Task.java:341) [java] at org.apache.tools.ant.Target.execute(Target.java:309) [java] at org.apache.tools.ant.Target.performTasks(Target.java:336) [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1255) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335) [java] at org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172) [java] at java.lang.Thread.run(Thread.java:536) [java] Oct 19, 2003 10:32:33 PM net.sf.hibernate.tool.hbm2java.CodeGenerator$1 error [java] SEVERE: Error parsing XML: file:/C:/eclipse/workspace/bloggagg/build/gen-src/airline/hibernate/Channel.hbm.xml(28) [java] org.xml.sax.SAXParseException: Attribute "not-null" must be declared for element type "id". [java] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) [java] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(Unknown Source) [java] at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source) [java] at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:354) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:707) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:689) [java] at net.sf.hibernate.tool.hbm2java.CodeGenerator.main(CodeGenerator.java:93) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:208) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:150) [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:443) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:163) [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) [java] at org.apache.tools.ant.Task.perform(Task.java:341) [java] at org.apache.tools.ant.Target.execute(Target.java:309) [java] at org.apache.tools.ant.Target.performTasks(Target.java:336) [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1255) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335) [java] at org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172) [java] at java.lang.Thread.run(Thread.java:536) [java] Oct 19, 2003 10:32:33 PM net.sf.hibernate.tool.hbm2java.CodeGenerator$1 error [java] SEVERE: Error parsing XML: file:/C:/eclipse/workspace/bloggagg/build/gen-src/airline/hibernate/Channel.hbm.xml(68) [java] org.xml.sax.SAXParseException: The element type "property" must be terminated by the matching end-tag "</property>". [java] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) [java] at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:354) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:707) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:689) [java] at net.sf.hibernate.tool.hbm2java.CodeGenerator.main(CodeGenerator.java:93) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:208) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:150) [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:443) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:163) [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) [java] at org.apache.tools.ant.Task.perform(Task.java:341) [java] at org.apache.tools.ant.Target.execute(Target.java:309) [java] at org.apache.tools.ant.Target.performTasks(Target.java:336) [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1255) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335) [java] at org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172) [java] at java.lang.Thread.run(Thread.java:536) [java] org.jdom.JDOMException: Error on line 68 of document file:/C:/eclipse/workspace/bloggagg/build/gen-src/airline/hibernate/Channel.hbm.xml: The element type "property" must be terminated by the matching end-tag "</property>". [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:363) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:707) [java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:689) [java] at net.sf.hibernate.tool.hbm2java.CodeGenerator.main(CodeGenerator.java:93) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:208) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:150) [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:443) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:163) [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) [java] at org.apache.tools.ant.Task.perform(Task.java:341) [java] at org.apache.tools.ant.Target.execute(Target.java:309) [java] at org.apache.tools.ant.Target.performTasks(Target.java:336) [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1255) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569) [java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335) [java] at org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172) [java] at java.lang.Thread.run(Thread.java:536)

    Hibernate JIRA | 1 decade ago | sudhir srinivasan
    org.jdom.JDOMException: Error on line 68 of document file:/C:/eclipse/workspace/bloggagg/build/gen-src/airline/hibernate/Channel.hbm.xml: The element type "property" must be terminated by the matching end-tag "</property>".
  3. 0

    JDOM Exception: invalid XML character ( Unico d e: 0xb) found

    narkive.com | 5 months ago
    org.jdom.JDOMException: Error on line 1588 of document An invalid XML character (Unicode: 0xb) was found in the element content of the document.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to prevent the Proguard obfuscation from destroying jdom.jar

    Stack Overflow | 5 years ago | Janusz
    org.jdom.JDOMException: Could not load default SAX parser: org.apache.xerces.parsers.SAXParser: SAX2 driver class org.apache.xerces.parsers.SAXParser not found: org.apache.xerces.parsers.SAXParser in loader dalvik.system.PathClassLoader[/data/app/...news.activities-2.apk]
  6. 0

    SaxBuilder Connection refused when building using BufferedReader

    Stack Overflow | 2 years ago | Rendy
    org.jdom.JDOMException: Error in building: Connection refused: connect

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jdom.JDOMException

      Error on line 68 of document file:/C:/eclipse/workspace/bloggagg/build/gen-src/airline/hibernate/Channel.hbm.xml: The element type "property" must be terminated by the matching end-tag "</property>".

      at org.jdom.input.SAXBuilder.build()
    2. jOpenDocument
      SAXBuilder.build
      1. org.jdom.input.SAXBuilder.build(SAXBuilder.java:363)
      2. org.jdom.input.SAXBuilder.build(SAXBuilder.java:707)
      3. org.jdom.input.SAXBuilder.build(SAXBuilder.java:689)
      3 frames
    3. net.sf.hibernate
      CodeGenerator.main
      1. net.sf.hibernate.tool.hbm2java.CodeGenerator.main(CodeGenerator.java:93)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    5. Ant
      Project.executeTargets
      1. org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:208)
      2. org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:150)
      3. org.apache.tools.ant.taskdefs.Java.run(Java.java:443)
      4. org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:163)
      5. org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
      6. org.apache.tools.ant.Task.perform(Task.java:341)
      7. org.apache.tools.ant.Target.execute(Target.java:309)
      8. org.apache.tools.ant.Target.performTasks(Target.java:336)
      9. org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      10. org.apache.tools.ant.Project.executeTargets(Project.java:1255)
      10 frames
    6. org.eclipse.ant
      InternalAntRunner.run
      1. org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569)
      2. org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    8. Ant Build Tool Core
      AntRunner.run
      1. org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
      1 frame
    9. org.eclipse.ui
      AntLaunchDelegate$1.run
      1. org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172)
      1 frame
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:536)
      1 frame