Code runs using IntelliJ but not in Visual Studio Code
I have a project me and my friends were working on. we initialized the project in Intellij using Gradle. when I try to run the program in vsc it gives an error. the cause of this error I believe is VSC cannot detect the resource folder where a part of the program needs to read to get input from. for some context here is the method:
after tinkering around with the file location I found out that the project can run if I move the file into the /project-name/ directory. is there any way I can make vsc read the file in the src/main/resources directory?
6 Replies
⌛
This post has been reserved for your question.
Hey @Oxydose! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
Anyone?
I mean, you could have shown the error.
But I expect nobody here uses vsc
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
yeah, I know well the thing is I'm actually trying this for my friend, they don't use intellij cus they aren't familiar with it. when they imported the project it wont run and they have different error somehow :shrugging:
should have suggested them to use intellij smh
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.