You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Bence Szabó (Jira)" <ji...@apache.org> on 2021/02/24 12:35:00 UTC

[jira] [Comment Edited] (SOLR-15178) Non-existent dependency listed in solr-core

    [ https://issues.apache.org/jira/browse/SOLR-15178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17289842#comment-17289842 ] 

Bence Szabó edited comment on SOLR-15178 at 2/24/21, 12:34 PM:
---------------------------------------------------------------

Thank you for your answer [~mdrob]!

When I created the Jira my first idea was also to get rid of this dependency, and when I removed the same line you mentioned in the link, the building failed with 871 errors - that's why I tried fixing in another way.

Most of these errors are {{error: cannot find symbol ...}} like this:
{noformat}
lucene-solr/solr/core/src/java/org/apache/solr/request/SolrRequestInfo.java:50: error: cannot find symbol
  public HttpServletRequest httpRequest;
         ^
  symbol:   class HttpServletRequest
  location: class SolrRequestInfo
{noformat}
And {{error: package (...) does not exist}} like this one:
{noformat}
lucene-solr/solr/core/src/java/org/apache/solr/request/SolrRequestInfo.java:19: error: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletRequest;
                         ^ 
{noformat}

Can you please check this as well, if you encounter the same problem when removing the dependency?


was (Author: bszabo97):
Thank you for your answer [~mdrob]!

When I created the Jira my first idea was also to get rid of this dependency, and when I removed the same line you mentioned in the link, the building failed with 871 errors - that's why I tried fixing in another way.

Can you please check this as well, if you encounter the same problem when removing the dependency?

> Non-existent dependency listed in solr-core
> -------------------------------------------
>
>                 Key: SOLR-15178
>                 URL: https://issues.apache.org/jira/browse/SOLR-15178
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: master (9.0)
>            Reporter: Bence Szabó
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Solr-core has a dependency, org.apache.solr:*server*, which fails to download.
>  For testing I created a test project here: [https://github.com/bszabo97/solr_master_dep_test]
>  If I run the command {{gradle -q dependencies --configuration solrCore}} the dependency org.apache.solr:server shows up and fails, though if I run {{gradle -q dependencies --configuration solrCore8}} it doesn't show up at all.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org