[SOLVED] Error Building My MCreator Workspace: Plugin was not found in any of the following sources

Started by Thrash on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 17:53, 26. Apr 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED] Error Building My MCreator Workspace: Plugin was not found in any of the following sources
Sun, 12/31/2023 - 07:27 (edited)

My mod (1.20.1 Forge, 324 mod assets, called OfficialTBMod) is not building the gradle task, does anyone know what this log is saying?

I've uninstalled MCreator and reinstalled and I've cleared the gradle caches, but nothing seems to work. I do not know how to enable the debug option, stacktrace, or insights.

 

SOLVED: Exporting as a sharable .zip and reimporting.

 

FAILURE: Build failed with an exception.
* Where:
Settings file 'C:\Users\Thras\MCreatorWorkspaces\officialtbmod2\settings.gradle' line: 12
* What went wrong:
Plugin [id: 'org.gradle.toolchains.foojay-resolver-convention', version: '0.5.0'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'org.gradle.toolchains.foojay-resolver-convention:org.gradle.toolchains.foojay-resolver-convention.gradle.plugin:0.5.0')
Searched in the following repositories:
Gradle Central Plugin Repository
MinecraftForge(https://maven.minecraftforge.net/)
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s

BUILD FAILED
Task completed in 3 seconds
 

Edited by Thrash on Sun, 12/31/2023 - 07:27
Last seen on 20:43, 20. Aug 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's possible you have a…
Sat, 12/30/2023 - 15:09

It's possible you have a broken plugin? Plugins aren't cleared when you clear the gradle cache, they're kept in the user/MCreator file. If it's carrying through even after reinstalling MCreator, and even after clearing the caches, this could be the issue, though I haven't seen any plugin like that before. If you're having the same problem with other mods or versions, a plugin might also be the issue. Otherwise I'm not sure what to make of it.

Last seen on 17:53, 26. Apr 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright, I'll try to delete…
Sun, 12/31/2023 - 07:04

Alright, I'll try to delete the entire workspace and import it via the .mcreator file and see if that will work.

Last seen on 17:53, 26. Apr 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Exporting and reimporting…
Sun, 12/31/2023 - 07:26

Exporting and reimporting the officialtbmod zip folder worked perfectly and it's exporting now.

Last seen on 20:43, 20. Aug 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah, sometimes you've gotta…
Sun, 12/31/2023 - 17:09

Yeah, sometimes you've gotta go for the nuclear option. I once had a workspace get so corrupted starting a new one and manually importing everything was the only option. Taught me a valuable lesson about making manual backups though... glad to hear it worked out!