简体   繁体   中英

neo4j graphaware php-client: class not found

When I tray to access my neo4j-DB via Graphaware's php-client using http-protocol, I get the following error message:

Fatal error: Class 'GraphAware\Common\Result\AbstractRecordCursor' not found in...

On the other hand when I'm using the bolt-protocol t says:

Fatal error: Uncaught Error: Call to undefined method GraphAware\Bolt\Result\Result::getResult() in...

At the beginning of my code I have used

require_once 'vendor/autoload.php';
use GraphAware\Neo4j\Client\ClientBuilder;

so I thought the classes should be autoloaded which is obviously not the case.

What's wrong?

I have solved this issue by replacing the respective syntax for queries of the example-files by one out of the README.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM