How to connect spark

when i tried to connect neo4j by spark,with dependency as spark 2.3.1 and scala 2.11.8 and neo4j-connector-apache-spark_2.11 4.0.0,i failed with this error
Exception in thread "main" java.lang.AbstractMethodError: org.neo4j.spark.reader.Neo4jDataSourceReader.createDataReaderFactories()Ljava/util/List
how could i resolve this problem?