maven - Trouble Importing Neo4j in Java -


i doing maven project intellj idea in trying use neo4j.

i have error of "unable resolve symbol neo4j" on (import org.neo4j.driver.v1.*;).

i have brought in neo4j jar files project , believe have correctly set pom file. post both though question below.

pom:

<?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"      xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"      xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">      <modelversion>4.0.0</modelversion>  <groupid>com.example</groupid> <artifactid>neoimport</artifactid> <version>0.0.1-snapshot</version> <packaging>jar</packaging>  <name>neoimport</name> <description>import</description>  <dependencies>     <dependency>         <groupid>org.neo4j.driver</groupid>         <artifactid>neo4j-java-driver</artifactid>         <version>1.0.3</version>     </dependency> </dependencies>  <build>     <defaultgoal>install</defaultgoal> </build>  </project> 

project setup:

enter image description here

thanks!


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -