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

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