I'm trying to index documents from a Spring Boot application to a local Elasticsearch Docker container using the these gradle dependencies. compile('org.elasticsearch:elasticsearch:6.5.1') compile('org.elasticsearch.client:transport:6.5.1')
However, with these dependencies i cannot run my application. My IntelliJ IDEA Event Log returns the following error: Error running 'MyBackendApplication': Command line is too long. Shorten command line for MyBackendApplication or also for Spring Boot default configuration.
After some googeling, i have tried to select a different option in my run configuration, but this is no valid solution since for some reason it takes several minutes for the application to start when i select something else.
Apologies if this is wrong location to ask, but adding either of the EC dependencies listed above will make me unable to run my application. So i thought it was okay to ask here.
That's ok, now what you need to do is to click on the first line where ":\Program Files" is and to check what you have in that command. I suppose that your command line is too long
After further investigation it seems to be something caused by Apache Tika and unrelated to ES after all. i flagged this question for it to be closed. Apologies
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.