Hi guys,

I'm trying to set up the jdbc-driver for OrientDB in eclipse.

What I did so far:

- Created a new Maven project
- Added these lines to pom.xml:

    <dependency>
        <groupId>com.orientechnologies</groupId>
        <artifactId>orientdb-jdbc</artifactId>
        <version>1.7</version>
    </dependency>

- Did a maven install (right click on pom.xml -> Run as -> maven install)
- Created a java class with the method void connect() which tries to 
establish a connection to the given hostname. The relevant code looks like 
this:

this.con = (OrientJdbcConnection) 
DriverManager.getConnection("jdbc:orient:remote:" + this.hostname + "/" + 
this.database, info);



On running this method, I get following error:

java.sql.SQLException: No suitable driver found for 
jdbc:orient:remote:someHost/someDatabase




My Java Build Path in Eclipse looks like this:
(Tab: Libraries)
> JRE System Library
  + some .jar files
> Maven Dependencies
  + orientdb-jdbc-1.7.jar
  + orientdb-enterprise-1.7.jar
  + orient-commons-1.7.jar
  + orientdb-core-1.7.jar
  + orientdb-nativeos-1.7.jar
  + orientdb-client-1.7.jar
  + some more jars



How can I solve the error stated above? I'd appreciate any help or hint!

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to