无法解决此问题,或者在任何邮件列表中都找不到与此相关的任何内容。
型号:
class Person(neomodels.NodeModel):
name = neomodels.StringProperty("Name")
user_id = neomodels.StringProperty("UserID")
registered_at = neomodels.DateTimeProperty("Registered At")Django-shell:
from models import Person
p = Person.objects.create(name="Metin Emenullahi", user_id="sdg'd;f", registered_at="05/01/2014");错误:
StatusException: Code [400]: Bad Request. Bad request syntax or unsupported method.
Invalid data sent: javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: groovy.lang.MissingMethodException.setMaxBufferSize() is applicable for argument types: () values: []完整的回溯是here
我该如何解决这个问题?
发布于 2014-06-02 21:54:38
在经历了几个小时的可怕的问题解决过程和痛苦的神经系统之后,我终于明白了为什么这个东西不能工作:
这是因为neo4django和neo4j之间的版本兼容性。neo4django已经在neo4j的1.8.2-1.9.4版本上进行了测试,但我使用的是2.1.1版本。我将其更改为1.8.3 (从neo4j网站上提供的版本范围),它的效果非常好。
https://stackoverflow.com/questions/23993834
复制相似问题