Jump to content

No source folder? (different version)


Animus_Surge

Recommended Posts

Completely off modding topic, but I need to know why eclipse says that the mod (the one that's currently in the workspace [ not an imported mod]) has no source folder (src/main/java(or)resources) in the workspace destination, when I look and there is the folders already there. 

 

the error says: "Project MDKExample is missing required source folder "src/main/java" and ".../resources". Here's an image of the file explorer:

 

 

Capture.thumb.PNG.48e843c9b10375256e034a304d89e49c.PNG

The folder is in there. And so are the other folders (otherwise, it wouldn't be able to load the workspace).

 

I've tried restarting it, but same thing.

Forge 1.8.9 and below are not supported in the forums anymore. Please upgrade to a later version.

 

My experimental mod: new GitHub page to be created... (Add your favorite TCGs in MC! [WIP])

 

When asking for assistance with modding or making mods, paste the log (located in .minecraft/logs folder for mod users or in the console for mod makers).

Link to comment
Share on other sites

On 8/12/2018 at 10:02 AM, Animus_Surge said:

Completely off modding topic, but I need to know why eclipse says that the mod (the one that's currently in the workspace [ not an imported mod]) has no source folder (src/main/java(or)resources) in the workspace destination, when I look and there is the folders already there. 

 

the error says: "Project MDKExample is missing required source folder "src/main/java" and ".../resources". Here's an image of the file explorer:

 

 

Capture.thumb.PNG.48e843c9b10375256e034a304d89e49c.PNG

The folder is in there. And so are the other folders (otherwise, it wouldn't be able to load the workspace).

 

I've tried restarting it, but same thing.

Eclipse is finicky... it might be possible to fix (configuring the build path etc) but a fool proof way is no just set up a new installation of forge in a new folder (gradlew setupDecompWorkspace, gradlew eclipse - the lot) and then copy your src folder into it. This will fix the problem but will get rid of any preferences you had in eclipse (custom dictionary/ auto formatting settings for example)

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

20 hours ago, Cadiboo said:

Eclipse is finicky... it might be possible to fix (configuring the build path etc) but a fool proof way is no just set up a new installation of forge in a new folder (gradlew setupDecompWorkspace, gradlew eclipse - the lot) and then copy your src folder into it. This will fix the problem but will get rid of any preferences you had in eclipse (custom dictionary/ auto formatting settings for example)

ok, I'll try that.

Forge 1.8.9 and below are not supported in the forums anymore. Please upgrade to a later version.

 

My experimental mod: new GitHub page to be created... (Add your favorite TCGs in MC! [WIP])

 

When asking for assistance with modding or making mods, paste the log (located in .minecraft/logs folder for mod users or in the console for mod makers).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.