Details

      Description

      Hi,all! I create portlet VSearch extend OpenSearch. When I deploy:

      log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j.spi.Configurator" variable.
      log4j:ERROR The class "org.apache.log4j.spi.Configurator" was loaded by
      log4j:ERROR [WebappClassLoader
      context: /vlegal-portlet
      delegate: false
      repositories:
      /WEB-INF/classes/
      ----------> Parent Classloader:
      org.apache.catalina.loader.StandardClassLoader@76ab2f
      ] whereas object of type
      log4j:ERROR "org.apache.log4j.xml.DOMConfigurator" was loaded by [WebappClassLoader
      context:
      delegate: false
      repositories:
      /WEB-INF/classes/
      ----------> Parent Classloader:
      org.apache.catalina.loader.StandardClassLoader@76ab2f
      ].
      log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator].

      liferay-portlet.xml

      <liferay-portlet-app>

      <portlet>
      <portlet-name>vlegal</portlet-name>
      <icon>/icon.png</icon>
      <indexer-class>com.vportal.portlet.vlegal.util.VLegalIndexer</indexer-class>
      <open-search-class>com.vportal.portlet.vlegal.util.VLegalOpenSearchImpl</open-search-class>
      <use-default-template>true</use-default-template>
      <instanceable>false</instanceable>
      <header-portlet-css>/css/main.css</header-portlet-css>
      <footer-portlet-javascript>
      /js/main.js
      </footer-portlet-javascript>
      <css-class-wrapper>vlegal-portlet</css-class-wrapper>
      </portlet>

      <portlet>
      <portlet-name>viewcontentaction</portlet-name>
      <icon>/icon.png</icon>
      <instanceable>true</instanceable>
      <header-portlet-css>/css/main.css</header-portlet-css>
      <footer-portlet-javascript>
      /js/main.js
      </footer-portlet-javascript>
      <css-class-wrapper>viewcontentaction-portlet</css-class-wrapper>
      </portlet>
      <portlet>
      <portlet-name>viewmenuaction</portlet-name>
      <icon>/icon.png</icon>
      <instanceable>true</instanceable>
      <header-portlet-css>/css/main.css</header-portlet-css>
      <footer-portlet-javascript>
      /js/main.js
      </footer-portlet-javascript>
      <css-class-wrapper>viewmenuaction-portlet</css-class-wrapper>
      </portlet>
      </liferay-portlet-app>

      How to fix it? Please help me!

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 20 weeks, 5 days ago

                Packages

                Version Package
                6.0.6 GA