I have a problem with Idea, it seems that Idea kee...
# spring
b
I have a problem with Idea, it seems that Idea keeps loading jars that I removed from my spring application
m
Try to invalidate caches. Intellij Idea -> File -> Invalidate Caches / Restart -> Invalidate and Restart
b
I did that, but to no avail, rebuilt gradle, removed build dirs neither. The only thing that solved it was to add in my application profile:
Copy code
management.health.solr.enabled: false
But I still don't understand why it wants to look at the health of solr, when I do in the project a
Copy code
grep -Rri solr .
I have 0 results
m
You can try to use
gradle dependencies | grep solr
maybe one of the dependencies uses solr
b
I have a dependency that import solrj transitively (rdf4j) but that has nothing to do with spring. so maybe spring still sees solr4j on the classpath and decides to do that? That would be a weird behavior no?
I'm excluding it see if it is the responsible one.
so it looks like org.springframework.boot:spring-boot-dependencies is importing solr4j
what I don't understand is why does it decide I would have solr?