Thanks Shawn. For Solr mode I should include all dependencies in lib, so I thought for Solr Cloud mode I should include the dependencies too.
The error is as follows: java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException: Unable to create core [gettingstarted_shard1_replica2] at java.util.concurrent.FutureTask.report(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at org.apache.solr.core.CoreContainer.lambda$load$6(CoreContainer.java:592) at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.solr.common.SolrException: Unable to create core [gettingstarted_shard1_replica2] at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:938) at org.apache.solr.core.CoreContainer.lambda$load$5(CoreContainer.java:564) at com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:197) ... 5 more Caused by: org.apache.solr.common.SolrException: Could not load conf for core gettingstarted_shard1_replica2: Can't load schema managed-schema: Plugin Initializing failure for [schema.xml] fieldType at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:97) at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:918) ... 7 more Caused by: org.apache.solr.common.SolrException: Can't load schema managed-schema: Plugin Initializing failure for [schema.xml] fieldType at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:608) at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:182) at org.apache.solr.schema.ManagedIndexSchema.<init>(ManagedIndexSchema.java:104) at org.apache.solr.schema.ManagedIndexSchemaFactory.create(ManagedIndexSchemaFactory.java:173) at org.apache.solr.schema.ManagedIndexSchemaFactory.create(ManagedIndexSchemaFactory.java:45) at org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:75) at org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:119) at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:92) ... 8 more Caused by: org.apache.solr.common.SolrException: Plugin Initializing failure for [schema.xml] fieldType at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:194) at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:494) ... 15 more Caused by: java.lang.RuntimeException: schema fieldtype text_general(org.apache.solr.schema.TextField) invalid arguments:{runtimeLib=true} at org.apache.solr.schema.FieldType.setArgs(FieldType.java:207) at org.apache.solr.schema.FieldTypePluginLoader.init(FieldTypePluginLoader.java:165) at org.apache.solr.schema.FieldTypePluginLoader.init(FieldTypePluginLoader.java:53) at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:191) ... 16 more -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html