I\'m trying to set up Solr 3.5.0 on JBoss 5.1. Everything works quite fine. I copied war into deploy dir, all the dependencies from dist and contrib directories into the lib
As said by Paige Cook this is a class loader issue, you should add dataimport jars into a path used by Solr class loader. In order to define such lib path there are many options. Old versions of Solr (4.x and older) accepts an attribute sharedLib in the tag :
sharedLib - Path to a directory containing .jar files that are added to the classpath of every core. The path is relative to
solr.home(wheresolr.xmlsits).
Newer versions of Solr (5.x and newer) use sharedLib as a child node of solr element.
lib
Even in this case the lib path is relative to solr.home (where solr.xml sits).
Another alternative is define a lib directive directly into the solrconfig.xml,