Skip to content

DB not loading #6

Description

@EmaniPreethika

I added the below lines before SpringApplication.run(CrackTheNumberApplication.class, args); for testing purpose

System.out.println("DB_URL = " + System.getenv("DB_URL"));
System.out.println("DB_USERNAME = " + System.getenv("DB_USERNAME"));

The output I got is:
DB_URL = null
DB_USERNAME = null

I guess its not loading from .env file

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions