com.liferay.portal.kernel.xml.DocumentException: Error on line 4 of document  : Document is invalid: no grammar found. Nested exception: Document is invalid: no grammar found.

openxava | tokugawa69 | 7 years ago
  1. 0

    OX 4m3 Y LR 5.2.3

    openxava | 7 years ago | tokugawa69
    com.liferay.portal.kernel.xml.DocumentException: Error on line 4 of document  : Document is invalid: no grammar found. Nested exception: Document is invalid: no grammar found.
  2. 0

    Window State Error - Forums | Liferay

    liferay.com | 12 months ago
    com.liferay.portal.kernel.xml.DocumentException: Error on line 12 of document  : The content of element type "portlet" must match "(portlet-name,icon?,virtual-path?,struts-path?,configuration-path?,configuration-action-class?,indexer-class?,open-search-class?,scheduler-class?,portlet-url-class?,friendly-url-mapper-class?,url-encoder-class?,portlet-data-handler-class?,portlet-layout-listener-class?,poller-processor-class?,pop-message-listener-class?,social-activity-interpreter-class?,social-request-interpreter-class?,webdav-storage-token?,webdav-storage-class?,control-panel-entry-category?,control-panel-entry-weight?,control-panel-entry-class?,asset-renderer-factory*,custom-attributes-display*,preferences-company-wide?,preferences-unique-per-layout?,preferences-owned-by-group?,use-default-template?,show-portlet-access-denied?,show-portlet-inactive?,action-url-redirect?,restore-current-view?,maximize-edit?,maximize-help?,pop-up-print?,layout-cacheable?,instanceable?,scopeable?,user-principal-strategy?,private-request-attributes?,private-session-attributes?,render-weight?,ajaxable?,header-portal-css*,header-portlet-css*,header-portal-javascript*,header-portlet-javascript*,footer-portal-css*,footer-portlet-css*,footer-portal-javascript*,footer-portlet-javascript*,css-class-wrapper?,facebook-integration?,add-default-resource?,system?,active?,include?)". Nested exception: The content of element type "portlet" must match "(portlet-name,icon?,virtual-path?,struts-path?,configuration-path?,configuration-action-class?,indexer-class?,open-search-class?,scheduler-class?,portlet-url-class?,friendly-url-mapper-class?,url-encoder-class?,portlet-data-handler-class?,portlet-layout-listener-class?,poller-processor-class?,pop-message-listener-class?,social-activity-interpreter-class?,social-request-interpreter-class?,webdav-storage-token?,webdav-storage-class?,control-panel-entry-category?,control-panel-entry-weight?,control-panel-entry-class?,asset-renderer-factory*,custom-attributes-display*,preferences-company-wide?,preferences-unique-per-layout?,preferences-owned-by-group?,use-default-template?,show-portlet-access-denied?,show-portlet-inactive?,action-url-redirect?,restore-current-view?,maximize-edit?,maximize-help?,pop-up-print?,layout-cacheable?,instanceable?,scopeable?,user-principal-strategy?,private-request-attributes?,private-session-attributes?,render-weight?,ajaxable?,header-portal-css*,header-portlet-css*,header-portal-javascript*,header-portlet-javascript*,footer-portal-css*,footer-portlet-css*,footer-portal-javascript*,footer-portlet-javascript*,css-class-wrapper?,facebook-integration?,add-default-resource?,system?,active?,include?)".
  3. 0

    RE: Problems installing JasperServer Portlet - Forums | Liferay

    liferay.com | 1 year ago
    com.liferay.portal.kernel.xml.DocumentException: Error on line 20 of document : cvc-complex-type.2.4.a: Invalid content was found starting with element 'resour ce-bundle'. One of '{"http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd":po rtlet-preferences, "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd":secu rity-role-ref}' is expected. Nested exception: cvc-complex-type.2.4.a: Invalid c ontent was found starting with element 'resource-bundle'. One of '{"http://java. sun.com/xml/ns/portlet/portlet-app_1_0.xsd":portlet-preferences, "http://java.su n.com/xml/ns/portlet/portlet-app_1_0.xsd":security-role-ref}' is expected.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Deploy JasperServerPortlet 3.5 war in LifeRay | Jaspersoft Community

    jaspersoft.com | 5 months ago
    com.liferay.portal.kernel.xml.DocumentException: Error on line 20 of document  :  cvc-complex-type.2.4.a: Invalid content was found starting with element 'resour ce-bundle'. One of '{" rtlet-preferences, " rity-role-ref}' is expected. Nested exception: cvc-complex-type.2.4.a: Invalid c ontent was found starting with element 'resource-bundle'. One of '{" . sun.com/xml/ns/portlet/portlet-app_1_0.xsd":portlet-preferences, " n.com/xml/ns/portlet/portlet-app_1_0.xsd":security-role-ref}' is expected.
  6. 0

    liferay portlet.xml配置顺序引起的错误 - 莫理琴的专栏 - 博客频道 - CSDN.NET

    csdn.net | 5 months ago
    com.liferay.portal.kernel.xml.DocumentException: Error on line 24 of document  : cvc-complex-type.2.4.a: Invalid content was found starting with element 'portlet-mode'. One of '{"http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd":mime-type}' is expected. Nested exception: cvc-complex-type.2.4.a: Invalid content was found starting with element 'portlet-mode'. One of '{"http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd":mime-type}' is expected.

    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. com.liferay.portal.kernel.xml.DocumentException

      Error on line 4 of document  : Document is invalid: no grammar found. Nested exception: Document is invalid: no grammar found.

      at com.liferay.portal.xml.SAXReaderImpl.read()
    2. Liferay Portal Impl
      SAXReaderImpl.read
      1. com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:377)
      2. com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:388)
      2 frames
    3. Liferay Portal Service
      SAXReaderUtil.read
      1. com.liferay.portal.kernel.xml.SAXReaderUtil.read(SAXReaderUtil.java:156)
      1 frame
    4. Liferay Portal Impl
      PortletLocalServiceImpl.initWAR
      1. com.liferay.portal.service.impl.PortletLocalServiceImpl._readPortletXML(PortletLocalServiceImpl.java:1281)
      2. com.liferay.portal.service.impl.PortletLocalServiceImpl.initWAR(PortletLocalServiceImpl.java:477)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    7. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    8. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      4 frames
    9. Unknown
      $Proxy49.initWAR
      1. $Proxy49.initWAR(Unknown Source)
      1 frame
    10. Liferay Portal Service
      PortletLocalServiceUtil.initWAR
      1. com.liferay.portal.service.PortletLocalServiceUtil.initWAR(PortletLocalServiceUtil.java:184)
      1 frame
    11. Liferay Portal Impl
      PortletHotDeployListener.invokeDeploy
      1. com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:230)
      2. com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:127)
      2 frames
    12. Liferay Portal Service
      PortletContextListener.contextInitialized
      1. com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:108)
      2. com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:153)
      3. com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:43)
      4. com.liferay.portal.kernel.servlet.PortletContextListener.portalInit(PortletContextListener.java:113)
      5. com.liferay.portal.kernel.util.PortalInitableUtil.init(PortalInitableUtil.java:48)
      6. com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:109)
      6 frames
    13. Glassfish Core
      ContainerBase$ContainerBackgroundProcessor.run
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      6. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
      7. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
      8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
      9. org.apache.catalina.startup.HostConfig.check(HostConfig.java:1217)
      10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
      11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      12. org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
      13. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
      14. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
      15. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
      15 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:636)
      1 frame