Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-4642

issues on build-service-portlet-reports - DocumentException: Error on line 53 of document.

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.0.2 RC
    • Fix Version/s: --Sprint 12/11, 6.1.0 CE RC1
    • Component/s: None
    • Labels:
      None
    • Environment:
      5.3.x
    • Liferay Contributor's Agreement:
      Accept

      Description

      At revision 36229.

      scenario:
      1) delete example Reports ext-impl in the EXT
      2) delete example Reports ext-service in the EXT
      3) ant " build-service-portlet-reports"

      and get following messages:

      Buildfile: C:\Liferay-Portal\workspace\ext\ext-impl\build.xml
      build-service-portlet-reports:
      build-service:
      [java] Loading jar:file:/C:/Liferay-Portal/workspace/ext/modules/portal-impl.jar!/system.properties
      [java] Loading file:/C:/Liferay-Portal/workspace/ext/ext-impl/classes/system-ext.properties
      [java] Loading jar:file:/C:/Liferay-Portal/workspace/ext/modules/portal-impl.jar!/portal.properties
      [java] Loading file:/C:/Liferay-Portal/workspace/ext/ext-impl/classes/portal-ext.properties
      [java] Loading file:/C:/Liferay-Portal/workspace/ext/ext-impl/classes/portal-ext.properties
      [java] Loading jar:file:/C:/Liferay-Portal/workspace/ext/modules/portal-impl.jar!/com/liferay/portal/tools/dependencies/portal-tools.properties
      [java] Loading jar:file:/C:/Liferay-Portal/workspace/ext/modules/portal-impl.jar!/captcha.properties
      [java] 17:50:28,890 INFO [PortalImpl:258] Portal lib directory /C:/Liferay-Portal/workspace/ext/lib/portal/util-java.jar!/
      [java] Building ReportsEntry
      [java] Writing src\com\ext\portlet\reports\service\persistence\ReportsEntryPersistenceImpl.java
      [java] Writing ..\ext-service\src\com\ext\portlet\reports\service\persistence\ReportsEntryPersistence.java
      [java] Writing ..\ext-service\src\com\ext\portlet\reports\service\persistence\ReportsEntryUtil.java
      [java] Writing src\com\ext\portlet\reports\model\impl\ReportsEntryModelImpl.java
      [java] Writing src\com\ext\portlet\reports\model\impl\ReportsEntryImpl.java
      [java] Writing ..\ext-service\src\com\ext\portlet\reports\model\ReportsEntryModel.java
      [java] Writing ..\ext-service\src\com\ext\portlet\reports\model\ReportsEntry.java
      [java] Writing ..\ext-service\src\com\ext\portlet\reports\model\ReportsEntrySoap.java
      [java] Writing src\com\ext\portlet\reports\service\impl\ReportsEntryServiceImpl.java
      [java] Writing src\com\ext\portlet\reports\service\base\ReportsEntryServiceBaseImpl.java
      [java] Writing ..\ext-service\src\com\ext\portlet\reports\service\ReportsEntryService.java
      [java] Writing ..\ext-service\src\com\ext\portlet\reports\service\ReportsEntryServiceUtil.java
      [java] Writing src\com\ext\portlet\reports\service\http\ReportsEntryServiceHttp.java
      [java] Writing src\com\ext\portlet\reports\service\http\ReportsEntryJSONSerializer.java
      [java] Writing src\com\ext\portlet\reports\service\http\ReportsEntryServiceSoap.java
      [java] org.dom4j.DocumentException: Error on line 53 of document : The end-tag for element type "mapped-superclass" must end with a '>' delimiter. Nested exception: The end-tag for element type "mapped-superclass" must end with a '>' delimiter.
      [java] at org.dom4j.io.SAXReader.read(SAXReader.java:482)
      [java] at org.dom4j.io.SAXReader.read(SAXReader.java:365)
      [java] at com.liferay.util.xml.XMLFormatter.toString(XMLFormatter.java:98)
      [java] at com.liferay.util.xml.XMLFormatter.toString(XMLFormatter.java:90)
      [java] at com.liferay.portal.tools.servicebuilder.ServiceBuilder._formatXml(ServiceBuilder.java:3589)
      [java] at com.liferay.portal.tools.servicebuilder.ServiceBuilder._createOrmXml(ServiceBuilder.java:2356)
      [java] at com.liferay.portal.tools.servicebuilder.ServiceBuilder.<init>(ServiceBuilder.java:1047)
      [java] at com.liferay.portal.tools.servicebuilder.ServiceBuilder.<init>(ServiceBuilder.java:412)
      [java] at com.liferay.portal.tools.servicebuilder.ServiceBuilder.main(ServiceBuilder.java:174)
      [java] Nested exception:
      [java] org.xml.sax.SAXParseException: The end-tag for element type "mapped-superclass" must end with a '>' delimiter.
      [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.XML11Configuration.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.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      [java] at org.dom4j.io.SAXReader.read(SAXReader.java:465)
      [java] at org.dom4j.io.SAXReader.read(SAXReader.java:365)
      [java] at com.liferay.util.xml.XMLFormatter.toString(XMLFormatter.java:98)
      [java] at com.liferay.util.xml.XMLFormatter.toString(XMLFormatter.java:90)
      [java] at com.liferay.portal.tools.servicebuilder.ServiceBuilder._formatXml(ServiceBuilder.java:3589)
      [java] at com.liferay.portal.tools.servicebuilder.ServiceBuilder._createOrmXml(ServiceBuilder.java:2356)
      [java] at com.liferay.portal.tools.servicebuilder.ServiceBuilder.<init>(ServiceBuilder.java:1047)
      [java] at com.liferay.portal.tools.servicebuilder.ServiceBuilder.<init>(ServiceBuilder.java:412)
      [java] at com.liferay.portal.tools.servicebuilder.ServiceBuilder.main(ServiceBuilder.java:174)
      [java] Nested exception: org.xml.sax.SAXParseException: The end-tag for element type "mapped-superclass" must end with a '>' delimiter.
      [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.XML11Configuration.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.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      [java] at org.dom4j.io.SAXReader.read(SAXReader.java:465)
      [java] at org.dom4j.io.SAXReader.read(SAXReader.java:365)
      [java] at com.liferay.util.xml.XMLFormatter.toString(XMLFormatter.java:98)
      [java] at com.liferay.util.xml.XMLFormatter.toString(XMLFormatter.java:90)
      [java] at com.liferay.portal.tools.servicebuilder.ServiceBuilder._formatXml(ServiceBuilder.java:3589)
      [java] at com.liferay.portal.tools.servicebuilder.ServiceBuilder._createOrmXml(ServiceBuilder.java:2356)
      [java] at com.liferay.portal.tools.servicebuilder.ServiceBuilder.<init>(ServiceBuilder.java:1047)
      [java] at com.liferay.portal.tools.servicebuilder.ServiceBuilder.<init>(ServiceBuilder.java:412)
      [java] at com.liferay.portal.tools.servicebuilder.ServiceBuilder.main(ServiceBuilder.java:174)
      compile:
      [javac] Compiling 7 source files to C:\Liferay-Portal\workspace\ext\ext-service\classes
      BUILD SUCCESSFUL
      Total time: 21 seconds

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            jonas.yuan Jonas Yuan
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 years, 12 weeks, 5 days ago

                Packages

                Version Package
                --Sprint 12/11
                6.1.0 CE RC1