title: Spring data source configuration issue :Logon Denied
body: <p>I have the below properties file in application.properties</p>
  
  <pre><code># Database settings
  spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
  spring.datasource.url=jdbc:oracle:thin:@dbbdev:1500:SIDNAME
  spring.datasource.username=user$name
  spring.datasource.password=password
  spring.jpa.database-platform=org.hibernate.dialect.Oracle10gDialect
  
  spring.jpa.generate-ddl=off
  spring.jpa.hibernate.ddl-auto=validate
  spring.jpa.show-sql=false
  spring.jpa.properties.javax.persistence.validation.mode=none
  spring.jpa.hibernate.format_sql=true
  </code></pre>
  
  <p>My main class is below : -</p>
  
  <pre><code>@SpringBootApplication
  public class App 
  {
  
      public static void main( String[] args )
      {
  
          SpringApplication.run(App.class, args);
          System.out.println( "Hello World!  -- "  );
      }
  </code></pre>
  
  <p>I am getting the below error :-</p>
  
  <blockquote>
    <p>2019-06-27 16:34:39.804  WARN 14556 --- [           main]
    o.s.b.a.orm.jpa.DatabaseLookup           : Unable to determine jdbc
    url from datasource</p>
    
    <p>org.springframework.jdbc.support.MetaDataAccessException: Could not
    get Connection for extracting meta-data; nested exception is
    org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to
    obtain JDBC Connection; nested exception is java.sql.SQLException:
    ORA-01017: invalid username/password; logon denied</p>
    
    <p>aused by: org.springframework.jdbc.CannotGetJdbcConnectionException:
    Failed to obtain JDBC Connection; nested exception is
    java.sql.SQLException: ORA-01017: invalid username/password; logon
    denied</p>
    
    <p>at
    org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:81)
    ~[spring-jdbc-5.1.8.RELEASE.jar:5.1.8.RELEASE]    at
    org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:319)
    ~[spring-jdbc-5.1.8.RELEASE.jar:5.1.8.RELEASE]    ... 65 common frames
    omitted Caused by: java.sql.SQLException: ORA-01017: invalid
    username/password; logon denied</p>
  </blockquote>
  
  <p>I have checked my user name and password is correct .Following dependecy exis 
   exists in parent pom</p>
  
  <p>How to resolve the issue.</p>
  
  <pre><code>&lt;properties&gt;
          &lt;java.version&gt;1.8&lt;/java.version&gt;
          &lt;springboot.version&gt;2.1.6.RELEASE&lt;/springboot.version&gt;
          &lt;ojdc.version&gt;12.1.0.2.0&lt;/ojdc.version&gt;
  
  
      &lt;/properties&gt;
  </code></pre>