You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Kengo Seki (Jira)" <ji...@apache.org> on 2023/01/04 14:04:00 UTC

[jira] [Created] (CAMEL-18859) camel-solr - Fix compilation error caused by upgrading Solr to 8.11.2

Kengo Seki created CAMEL-18859:
----------------------------------

             Summary: camel-solr - Fix compilation error caused by upgrading Solr to 8.11.2
                 Key: CAMEL-18859
                 URL: https://issues.apache.org/jira/browse/CAMEL-18859
             Project: Camel
          Issue Type: Bug
          Components: camel-solr
            Reporter: Kengo Seki


Currently, building entire project fails due to the compilation error of camel-solr in the main branch. Solr's packaging structure was apparently changed in v8.11.2.

{code}
$ ./mvnw clean install -DskipTests

...

[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ camel-solr ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 17 source files to /home/sekikn/repos/camel/components/camel-solr/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/sekikn/repos/camel/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrFixtures.java:[21,23] error: package org.apache.log4j does not exist
[ERROR] /home/sekikn/repos/camel/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrFixtures.java:[24,44] error: cannot find symbol
  symbol:   class JettySolrRunner
  location: package org.apache.solr.client.solrj.embedded
[ERROR] /home/sekikn/repos/camel/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrFixtures.java:[30,11] error: cannot find symbol
  symbol:   class Logger
  location: class SolrFixtures

...

[INFO] Camel :: Solr ...................................... FAILURE [  4.299 s]

...

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  27:40 min
[INFO] Finished at: 2023-01-04T22:02:37+09:00
[INFO] ------------------------------------------------------------------------

...
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)