Skip to content

Could not find ./.env on the classpath #2

@gspeiliu

Description

@gspeiliu

Hi,

I followed the instructions and tried the tool in my local environment. However, it shows the error messages as following when I tried the analysis command.
io.github.cdimascio.dotenv.DotEnvException: Could not find ./.env on the classpath
at io.github.cdimascio.dotenv.internal.ClasspathHelper.loadFileFromClasspath(ClassPathHelper.kt:37)
at io.github.cdimascio.dotenv.internal.DotenvReader.read(DotenvReader.kt:36)
at io.github.cdimascio.dotenv.internal.DotenvParser.parse(DotenvParser.kt:26)
at io.github.cdimascio.dotenv.DotenvBuilder.load(Dotenv.kt:111)
at io.github.cdimascio.dotenv.Dotenv$Instance.load(Dotenv.kt:32)
at io.github.cdimascio.dotenv.Dotenv.load(Dotenv.kt)
at uniandes.tsdl.itdroid.IBM.IBMTranslator.translate(IBMTranslator.java:49)
at uniandes.tsdl.itdroid.translator.Translator.translate(Translator.java:20)
at uniandes.tsdl.itdroid.ITDroid.runITDroid(ITDroid.java:152)
at uniandes.tsdl.itdroid.ITDroid.main(ITDroid.java:43)
Suppressed: io.github.cdimascio.dotenv.DotEnvException: Could not find ./.env on the file system (working directory: /$HOME/ITDroid)
at io.github.cdimascio.dotenv.internal.DotenvReader.read(DotenvReader.kt:40)
... 8 more

Do you have any advice?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions