Version Incompatibility(Ininvalid version (expected 2, but 1) or the data in not in 'javabin' format
2011-11-19 11:58
543 查看
solrj服务器是1.4.0版本,项目中的jar包是3.4.0版本,运行solr.add(doc);时候报这个错误,把项目中的jar包换成1.4.0版本后没有出现这个问题
solr.add(doc);
solr.comment();
solr.add(doc);
solr.comment();
相关文章推荐
- ADO.NET Entity Framework: The version of SQL Server in use does not support datatype 'datetime2'
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决
- .htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the
- Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the ser
- 安装j2ee 报错 Could not find the required version of the Java(TM)2 Runtime Environment in '(null)'
- Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the ser
- 错误: Could not edit the data in the folder or database selected. The current version does not support editing (base, consistent, or closed)
- mac 下从设置启动mysql 失败,“Warning:The /usr/local/mysql/data directory is not owned by the 'mysql' or '_mys
- 奇葩问题:This file could not be checked in because the original version of the file on the server was moved or deleted. A new version of this file has been saved to the server, but your check-in comments were not saved
- Maven 创建项目的时候 [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be fo
- 错误:A field or property with the name 'XXX' was not found on the selected data source 解决
- the command could not be located because '/bin' is not included in the path environment variable
- ReactJs 报错 Element type is invalid: expected a string (from built-in components) or a class/function (for composite components) but got: undefined. Check the render method of `Me`.
- Bean property 'productService' is not writable or has an invalid setter method. Does the parameter t
- About Derby "ERROR 42X51: The class '***' does not exist or is inaccessible. This can hap pen if the class is not public."
- The type or namespace name 'Windows' does not exist in the class or namespace 'System'
- The type 'System.Data.Objects.DataClasses.EntityObject' is defined in an assembly that is not refere
- CS0234 The type or namespace name 'Mvc' does not exist in the namespace 'Microsoft.AspNet' (are you
- 'WHERE' is the same of 'on' in mysql(many times,but not always)
- Bean property 'esyerDao' is not writable or has an invalid setter method. Does the parameter type of