: I am just using the sor.war file that came with the Solr 1.4 download on : weblogic. : did not add any jar or remove any jar
i'm not sure what to tell you then -- somehow you have another copy of some classes in your classpath. did you copy the solr.war on top of an older solr.war? is it possible there is an older version of solr that weblogic un-wared into a working directory and that older jars existing in the directory along with the new jars? : On Tue, May 25, 2010 at 9:54 PM, Chris Hostetter : <hossman_luc...@fucit.org>wrote: : : > : > : yes i am running 1.5, Any idea how we can run Solr 1.4 using Java 1.5 : > : > Solr 1.4 works just fine with Java 1.5 -- even when Using the : > DataImportHandler. : > : > there are some features of DIH like the ScriptTransformer that requires : > java 1.6, but that's not your issue... : > : > : > Last I encountered that exception was with the usage of String.isEmpty : > : > which is a 1.6 novelty. : > : > ...the line in question in the stack trace provided has nothign to do with : > String.isEmpty. : > : > >> Caused by: java.lang.NoSuchMethodError: isEmpty : > >> at : > org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:391) : > : > the object in question is a DocWrapper which inherits from : > SolrInputDocument which defines isEmpty. if you are getting this error it : > suggests that something is wonky with your classpath, and you probably : > have multiple versions of some solr jars getting included by mistake -- in : > particular an old copy of the solr-common jar where SolrInputDocument is : > defined. : > : > : > : > -Hoss : > : > : -Hoss