Details

      Description

      Steps to reproduce:

      1. Deploy Drools plugin

      Expected Result:
      Portlet deploys without errors.

      Actual Result:
      Portlet is unable to deploy.

      deploy:
          [mkdir] Created dir: L:\private7\ee-7.0.x-plugins\dist
          [mkdir] Created dir: L:\private7\ee-7.0.x-plugins\shared\portal-compat-shared\classes
           [copy] Copying 1 file to L:\private7\ee-7.0.x-plugins\shared\portal-compat-shared\classes
            [jar] Building jar: L:\private7\ee-7.0.x-plugins\dist\portal-compat-shared-7.0.0.1.jar
           [copy] Copying 1 file to L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\lib
          [mkdir] Created dir: L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\classes
           [copy] Copying 5 files to L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\lib
           [copy] Copying 4 files to L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\classes
           [copy] Copied 8 empty directories to 7 empty directories under L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\classes
          [javac] Compiling 2 source files to L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\classes
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:17: error: package com.liferay.portal.kernel.bi.rules does not exist
          [javac] import com.liferay.portal.kernel.bi.rules.Fact;
          [javac]                                          ^
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:18: error: package com.liferay.portal.kernel.bi.rules does not exist
          [javac] import com.liferay.portal.kernel.bi.rules.Query;
          [javac]                                          ^
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:19: error: package com.liferay.portal.kernel.bi.rules does not exist
          [javac] import com.liferay.portal.kernel.bi.rules.QueryType;
          [javac]                                          ^
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:20: error: package com.liferay.portal.kernel.bi.rules does not exist
          [javac] import com.liferay.portal.kernel.bi.rules.RulesEngine;
          [javac]                                          ^
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:21: error: package com.liferay.portal.kernel.bi.rules does not exist
          [javac] import com.liferay.portal.kernel.bi.rules.RulesEngineException;
          [javac]                                          ^
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:22: error: package com.liferay.portal.kernel.bi.rules does not exist
          [javac] import com.liferay.portal.kernel.bi.rules.RulesLanguage;
          [javac]                                          ^
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:23: error: package com.liferay.portal.kernel.bi.rules does not exist
          [javac] import com.liferay.portal.kernel.bi.rules.RulesResourceRetriever;
          [javac]                                          ^
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:57: error: cannot find symbol
          [javac] public class RulesEngineImpl implements RulesEngine {
          [javac]                                         ^
          [javac]   symbol: class RulesEngine
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:60: error: cannot find symbol
          [javac]                     String domainName, RulesResourceRetriever rulesResourceRetriever,
          [javac]                                        ^
          [javac]   symbol:   class RulesResourceRetriever
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:62: error: cannot find symbol
          [javac]             throws RulesEngineException {
          [javac]                    ^
          [javac]   symbol:   class RulesEngineException
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:80: error: cannot find symbol
          [javac]                     RulesResourceRetriever rulesResourceRetriever, List<Fact<?>> facts,
          [javac]                     ^
          [javac]   symbol:   class RulesResourceRetriever
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:80: error: cannot find symbol
          [javac]                     RulesResourceRetriever rulesResourceRetriever, List<Fact<?>> facts,
          [javac]                                                                         ^
          [javac]   symbol:   class Fact
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:82: error: cannot find symbol
          [javac]             throws RulesEngineException {
          [javac]                    ^
          [javac]   symbol:   class RulesEngineException
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:91: error: cannot find symbol
          [javac]                     RulesResourceRetriever rulesResourceRetriever, List<Fact<?>> facts,
          [javac]                     ^
          [javac]   symbol:   class RulesResourceRetriever
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:91: error: cannot find symbol
          [javac]                     RulesResourceRetriever rulesResourceRetriever, List<Fact<?>> facts,
          [javac]                                                                         ^
          [javac]   symbol:   class Fact
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:92: error: cannot find symbol
          [javac]                     Query query, ClassLoader... classloaders)
          [javac]                     ^
          [javac]   symbol:   class Query
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:93: error: cannot find symbol
          [javac]             throws RulesEngineException {
          [javac]                    ^
          [javac]   symbol:   class RulesEngineException
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:102: error: cannot find symbol
          [javac]                     String domainName, List<Fact<?>> facts, ClassLoader... classloaders)
          [javac]                                             ^
          [javac]   symbol:   class Fact
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:103: error: cannot find symbol
          [javac]             throws RulesEngineException {
          [javac]                    ^
          [javac]   symbol:   class RulesEngineException
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:116: error: cannot find symbol
          [javac]                     String domainName, List<Fact<?>> facts, Query query,
          [javac]                                             ^
          [javac]   symbol:   class Fact
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:116: error: cannot find symbol
          [javac]                     String domainName, List<Fact<?>> facts, Query query,
          [javac]                                                             ^
          [javac]   symbol:   class Query
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:118: error: cannot find symbol
          [javac]             throws RulesEngineException {
          [javac]                    ^
          [javac]   symbol:   class RulesEngineException
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:151: error: cannot find symbol
          [javac]                     String domainName, RulesResourceRetriever rulesResourceRetriever,
          [javac]                                        ^
          [javac]   symbol:   class RulesResourceRetriever
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:153: error: cannot find symbol
          [javac]             throws RulesEngineException {
          [javac]                    ^
          [javac]   symbol:   class RulesEngineException
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:177: error: cannot find symbol
          [javac]                     RulesResourceRetriever retriever, ClassLoader... classloaders)
          [javac]                     ^
          [javac]   symbol:   class RulesResourceRetriever
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:178: error: cannot find symbol
          [javac]             throws RulesEngineException {
          [javac]                    ^
          [javac]   symbol:   class RulesEngineException
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:227: error: cannot find symbol
          [javac]     protected void execute(List<Fact<?>> facts, KnowledgeBase knowledgeBase) {
          [javac]                                 ^
          [javac]   symbol:   class Fact
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:232: error: cannot find symbol
          [javac]             List<Fact<?>> facts, KnowledgeBase knowledgeBase, Query query) {
          [javac]                  ^
          [javac]   symbol:   class Fact
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:232: error: cannot find symbol
          [javac]             List<Fact<?>> facts, KnowledgeBase knowledgeBase, Query query) {
          [javac]                                                               ^
          [javac]   symbol:   class Query
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:280: error: cannot find symbol
          [javac]             Query query, List<String> identifiers,
          [javac]             ^
          [javac]   symbol:   class Query
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:334: error: cannot find symbol
          [javac]     private Map<RulesLanguage, ResourceType> _resourceTypeMap =
          [javac]                 ^
          [javac]   symbol:   class RulesLanguage
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:74: error: method does not override or implement a method from a supertype
          [javac]     @Override
          [javac]     ^
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:108: error: cannot find symbol
          [javac]                     throw new RulesEngineException(
          [javac]                               ^
          [javac]   symbol:   class RulesEngineException
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:123: error: cannot find symbol
          [javac]                     throw new RulesEngineException(
          [javac]                               ^
          [javac]   symbol:   class RulesEngineException
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:130: error: method does not override or implement a method from a supertype
          [javac]     @Override
          [javac]     ^
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:142: error: cannot find symbol
          [javac]                     RulesLanguage rulesLanguage = RulesLanguage.valueOf(entry.getKey());
          [javac]                     ^
          [javac]   symbol:   class RulesLanguage
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:142: error: cannot find symbol
          [javac]                     RulesLanguage rulesLanguage = RulesLanguage.valueOf(entry.getKey());
          [javac]                                                   ^
          [javac]   symbol:   variable RulesLanguage
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:166: error: cannot find symbol
          [javac]                     RulesLanguage.valueOf(rulesLanguage));
          [javac]                     ^
          [javac]   symbol:   variable RulesLanguage
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:212: error: cannot find symbol
          [javac]                             throw new RulesEngineException(
          [javac]                                       ^
          [javac]   symbol:   class RulesEngineException
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:222: error: cannot find symbol
          [javac]                     throw new RulesEngineException(
          [javac]                               ^
          [javac]   symbol:   class RulesEngineException
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:234: error: cannot find symbol
          [javac]             QueryType queryType = null;
          [javac]             ^
          [javac]   symbol:   class QueryType
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:240: error: cannot find symbol
          [javac]             if ((query != null) && queryType.equals(QueryType.CUSTOM) &&
          [javac]                                                     ^
          [javac]   symbol:   variable QueryType
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:254: error: cannot find symbol
          [javac]             for (Fact<?> fact : facts) {
          [javac]                  ^
          [javac]   symbol:   class Fact
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:265: error: cannot find symbol
          [javac]             if ((query != null) && queryType.equals(QueryType.CUSTOM)) {
          [javac]                                                     ^
          [javac]   symbol:   variable QueryType
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:289: error: cannot find symbol
          [javac]             QueryType queryType = query.getQueryType();
          [javac]             ^
          [javac]   symbol:   class QueryType
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:291: error: cannot find symbol
          [javac]             if (queryType.equals(QueryType.STANDARD)) {
          [javac]                                  ^
          [javac]   symbol:   variable QueryType
          [javac]   location: class RulesEngineImpl
          [javac] L:\private7\ee-7.0.x-plugins\webs\drools-web\docroot\WEB-INF\src\com\liferay\portal\bi\rules\drools\RulesEngineImpl.java:335: error: cannot find symbol
          [javac]             new ConcurrentHashMap<RulesLanguage, ResourceType>();
          [javac]                                   ^
          [javac]   symbol:   class RulesLanguage
          [javac]   location: class RulesEngineImpl
          [javac] 47 errors
      

      Reproduced on:
      Tomcat 8.0.30 + MariaDB 10.0.23
      Portal ee-7.0.x Git Hash: b6ec33a709c1a38c73ae5d9a0f31246c79f2624f
      Plugins ee-7.0.x Git Hash: 454bb6103b140474e964b95d973fd67627c44ca4

        Attachments

          Activity

            People

            • Assignee:
              brian.lee Brian Lee
              Reporter:
              brian.lee Brian Lee
              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:
                3 years, 27 weeks, 6 days ago

                Packages

                Version Package
                7.0.1 CE GA2