title: ORA-01017: invalid username/password; logon denied
body: <p>I am using Oracle 11g with eclipse oxygen, i am trying to setup Jdbc connection,
  and i am using the connection statement</p>
  
  <pre><code>Connection con = DriverManager.getConnection("jdbc:oracle:thin:testuser/testuser@localhost");
  </code></pre>
  
  <p>I am sure that the username and password are right, but still i am getting </p>
  
  <pre><code>java.sql.SQLException: ORA-01017: invalid username/password; logon denied
  
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:382)
      at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:573)
      at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:431)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
      at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:366)
      at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:752)
      at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:366)
      at oracle.jdbc.driver.PhysicalConnection.&lt;init&gt;(PhysicalConnection.java:536)
      at oracle.jdbc.driver.T4CConnection.&lt;init&gt;(T4CConnection.java:228)
      at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
      at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
      at java.sql.DriverManager.getConnection(Unknown Source)
      at java.sql.DriverManager.getConnection(Unknown Source)
      at JDBC.main(JDBC.java:12)
  </code></pre>
  
  <p>Could someone please help?</p>