java - Solr query version issue: Invalid version or the data in not in 'javabin' format -
as part of recent project, our solr search engine upgraded 5.0.0. program runs client works fine in production/qa, when run on local system, error message:
caused by: java.lang.runtimeexception: invalid version or data in not in 'javabin' format @ org.apache.solr.common.util.javabincodec.unmarshal(javabincodec.java:99) this exception apache-solr-solrj-1.4.1.jar, would've thought needs replaced. when check (running) production code, same jar file there.
however, java version on production server has been upgraded java version "1.7.0_79". on local system, i'm pointing @ 1.6 jre sts/eclipse. if change 1.7, start getting 51 vs. 50 class version error in different part of program, indicating there's issue converting 1.7, although again doesn't seem problem on production server.
i have tested solr server running correctly via web client. returns data in json format.
one question have is, mean when says "invalid version or data isn't in javabin format"? guess means, may in javabin format, not version of that's expected, or it's in different format xml or json. but, i'm not clear of 2 problem, 1 thing.
any suggestions?
all set. did update java 1.7, pointing jre - plus, there code included library had gotten updated hadn't pulled in.
Comments
Post a Comment