Jump to content

Plugin with id 'net.minecraftforge.gradle.forge' not found.


Recommended Posts

Posted

I'm Learning to build my first Mod. But when SetupDecompworkspace it gose wrong:

--------------------------------------------------------

FAILURE: Build failed with an exception.

* Where:
Build file 'F:\Minecraft_Mod\1.12\build.gradle' line: 10

* What went wrong:
A problem occurred evaluating root project '1.12'.
> Plugin with id 'net.minecraftforge.gradle.forge' not found.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

--------------------------------------------------------

 

I didnt delete anything ,Could anyone tell me how to deal with it?

Posted

Did you change something above the line that says "Do not edit anything above this line"?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted (edited)
  On 8/27/2019 at 10:05 PM, DaemonUmbra said:

Did you change something above the line that says "Do not edit anything above this line"?

Expand  

No,everything is unchanged

-----------------

buildscript {
repositories {
jcenter()
maven { url = "http://files.minecraftforge.net/maven" }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
Edited by Pasta
Posted

What's the full output of the command?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted
  On 8/28/2019 at 4:40 AM, DaemonUmbra said:

What's the full output of the command?

Expand  

------------------------------------------

To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
Starting daemon process: workingDir = C:\Users\61946\.gradle\daemon\2.14, daemonArgs: [D:\Java\jdk\bin\java.exe, -Xmx3G, -Dfile.encoding=GBK, -Duser.country=CN, -Duser.language=zh, -Duser.variant, -cp, C:\Users\61946\.gradle\wrapper\dists\gradle-2.14-bin\3drz41ulh0bi9dhgkbzxcamxn\gradle-2.14\lib\gradle-launcher-2.14.jar, org.gradle.launcher.daemon.bootstrap.GradleDaemon, 2.14]
Starting process 'Gradle build daemon'. Working directory: C:\Users\61946\.gradle\daemon\2.14 Command: D:\Java\jdk\bin\java.exe -Xmx3G -Dfile.encoding=GBK -Duser.country=CN -Duser.language=zh -Duser.variant -cp C:\Users\61946\.gradle\wrapper\dists\gradle-2.14-bin\3drz41ulh0bi9dhgkbzxcamxn\gradle-2.14\lib\gradle-launcher-2.14.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 2.14
Successfully started process 'Gradle build daemon'
An attempt to start the daemon took 2.407 secs.
Connected to daemon DaemonInfo{pid=18656, address=[b101c6dc-df8c-481e-a637-ea71ca5c06ad port:58908, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=false, lastBusy=1566949290641, context=DefaultDaemonContext[uid=072fade9-d691-4e4e-8399-cb00f1486a96,javaHome=D:\Java\jdk,daemonRegistryDir=C:\Users\61946\.gradle\daemon,pid=18656,idleTimeout=120000,daemonOpts=-Xmx3G,-Dfile.encoding=GBK,-Duser.country=CN,-Duser.language=zh,-Duser.variant]}. Dispatching request BuildAndStop{id=0e5a6f51-1b3e-4e1d-a507-908487dba603.1, currentDir=F:\Minecraft_Mod\1.12}.
Received result org.gradle.launcher.daemon.protocol.BuildStarted@3081f72c from daemon DaemonInfo{pid=18656, address=[b101c6dc-df8c-481e-a637-ea71ca5c06ad port:58908, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=false, lastBusy=1566949290641, context=DefaultDaemonContext[uid=072fade9-d691-4e4e-8399-cb00f1486a96,javaHome=D:\Java\jdk,daemonRegistryDir=C:\Users\61946\.gradle\daemon,pid=18656,idleTimeout=120000,daemonOpts=-Xmx3G,-Dfile.encoding=GBK,-Duser.country=CN,-Duser.language=zh,-Duser.variant]} (build should be starting).
The client will now receive all logging from the daemon (pid: 18656). The daemon log file: C:\Users\61946\.gradle\daemon\2.14\daemon-18656.out.log
Executing build with daemon context: DefaultDaemonContext[uid=072fade9-d691-4e4e-8399-cb00f1486a96,javaHome=D:\Java\jdk,daemonRegistryDir=C:\Users\61946\.gradle\daemon,pid=18656,idleTimeout=120000,daemonOpts=-Xmx3G,-Dfile.encoding=GBK,-Duser.country=CN,-Duser.language=zh,-Duser.variant]
Starting Build
Settings evaluated using settings file 'F:\master\settings.gradle'.
Projects loaded. Root project using build file 'F:\Minecraft_Mod\1.12\build.gradle'.
Included projects: [root project '1.12']
Evaluating root project '1.12' using build file 'F:\Minecraft_Mod\1.12\build.gradle'.

FAILURE: Build failed with an exception.

* Where:
Build file 'F:\Minecraft_Mod\1.12\build.gradle' line: 10

* What went wrong:
A problem occurred evaluating root project '1.12'.
> Plugin with id 'net.minecraftforge.gradle.forge' not found.

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED

Total time: 6.655 secs
Received result Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Build file 'F:\Minecraft_Mod\1.12\build.gradle' line: 10
A problem occurred evaluating root project '1.12'.] from daemon DaemonInfo{pid=18656, address=[b101c6dc-df8c-481e-a637-ea71ca5c06ad port:58908, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=false, lastBusy=1566949290641, context=DefaultDaemonContext[uid=072fade9-d691-4e4e-8399-cb00f1486a96,javaHome=D:\Java\jdk,daemonRegistryDir=C:\Users\61946\.gradle\daemon,pid=18656,idleTimeout=120000,daemonOpts=-Xmx3G,-Dfile.encoding=GBK,-Duser.country=CN,-Duser.language=zh,-Duser.variant]} (build should be done).

-----------------------------------------------------

That's it

Posted

Where did you get your build.gradle if you didn't modify anything above that line?

Note: I'm counting changes that you undid as modifying.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted
  On 8/28/2019 at 6:45 PM, DaemonUmbra said:

Where did you get your build.gradle if you didn't modify anything above that line?

Note: I'm counting changes that you undid as modifying. 

Expand  

just type the cmdline "./gradle SetupDecompworkspace ",and then auto-create. Should i change something?

Posted

Either you did more than that and undid it or you got your MDK from somewhere you shouldn't have.

 

If you modified something and undid it see if you can spot the difference between the orignal and your undone version.

If you downloaded the MDK from somewhere other than https://files.minecraftforge.net/ then please report it.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • New users at Temu receive a $100 discount on orders over $100 Use the code [aci789589] during checkout to get Temu Coupon Code $100 off For New Users. Yes, Temu offers $100 off coupon code “aci789589” for first-time users. Temu 100% Off coupon code "aci789589" will save you $100 on your order. To get a discount, click on the item to purchase and enter the code. Yes, Temu offers $100 off coupon code “aci789589” for first-time users. You can get a$100 bonus plus 30% off any purchase at Temu with the$100 Coupon Bundle at Temu if you sign up with the referral code [aci789589] and make a first purchase of$50 or more. The Temu $100 Off coupon code (aci789589) will save you $100 on your order. To get a discount, click on the item to purchase and enter the code. Yes Temu offers $100 Off Coupon Code “aci789589” for First Time Users. Yes, Temu offers $100 off coupon code {aci789589} for first-time users. You can get a $100 bonus plus 100% off any purchase at Temu with the $100 Coupon Bundle if you sign up with the referral code [aci789589] and make a first purchase of $100 or more. If you are who wish to join Temu, then you should use this exclusive Temu coupon code $100 off (aci789589) and get $100 off on your purchase with Temu. You can get a $100 discount with Temu coupon code {aci789589}. This exclusive offer is for existing customers and can be used for a $100 reduction on your total purchase. Enter coupon code {aci789589} at checkout to avail of the discount. You can use the code {aci789589} to get a $100 off Temu coupon as a new customer. Apply this Temu coupon code $100 off (aci789589) to get a $100 discount on your shopping with Temu. If you’re a first-time user and looking for a Temu coupon code $100 first time user(aci789589) then using this code will give you a flat $100 Off and a 90% discount on your Temu shopping. Temu $100% Off Coupon Code "aci789589" will save you $100 on your order. To get a discount, click on the item to purchase and enter the code. Temu coupon code$100off-{aci789589} Temu coupon code -{aci789589} Temu coupon code$50 off-{aci789589} Temu Coupon code [aci789589] for existing users can get up to 50% discount on product during checkout. Temu Coupon Codes for Existing Customers-aci789589 Temu values its loyal customers and offers various promo codes, including the Legit Temu Coupon Code (aci789589]) or (aci789589), which existing users can use. This ensures that repeat shoppers can also benefit from significant discounts on their purchases. Keep an eye out for special promotions and offers that are periodically available to enhance your shopping experience.
    • New users at Temu receive a $100 discount on orders over $100 Use the code [aci789589] during checkout to get Temu Coupon Code $100 off For New Users. Yes, Temu offers $100 off coupon code “aci789589” for first-time users. Temu 100% Off coupon code "aci789589" will save you $100 on your order. To get a discount, click on the item to purchase and enter the code. Yes, Temu offers $100 off coupon code “aci789589” for first-time users. You can get a$100 bonus plus 30% off any purchase at Temu with the$100 Coupon Bundle at Temu if you sign up with the referral code [aci789589] and make a first purchase of$50 or more. The Temu $100 Off coupon code (aci789589) will save you $100 on your order. To get a discount, click on the item to purchase and enter the code. Yes Temu offers $100 Off Coupon Code “aci789589” for First Time Users. Yes, Temu offers $100 off coupon code {aci789589} for first-time users. You can get a $100 bonus plus 100% off any purchase at Temu with the $100 Coupon Bundle if you sign up with the referral code [aci789589] and make a first purchase of $100 or more. If you are who wish to join Temu, then you should use this exclusive Temu coupon code $100 off (aci789589) and get $100 off on your purchase with Temu. You can get a $100 discount with Temu coupon code {aci789589}. This exclusive offer is for existing customers and can be used for a $100 reduction on your total purchase. Enter coupon code {aci789589} at checkout to avail of the discount. You can use the code {aci789589} to get a $100 off Temu coupon as a new customer. Apply this Temu coupon code $100 off (aci789589) to get a $100 discount on your shopping with Temu. If you’re a first-time user and looking for a Temu coupon code $100 first time user(aci789589) then using this code will give you a flat $100 Off and a 90% discount on your Temu shopping. Temu $100% Off Coupon Code "aci789589" will save you $100 on your order. To get a discount, click on the item to purchase and enter the code. Temu coupon code$100off-{aci789589} Temu coupon code -{aci789589} Temu coupon code$50 off-{aci789589} Temu Coupon code [aci789589] for existing users can get up to 50% discount on product during checkout. Temu Coupon Codes for Existing Customers-aci789589 Temu values its loyal customers and offers various promo codes, including the Legit Temu Coupon Code (aci789589]) or (aci789589), which existing users can use. This ensures that repeat shoppers can also benefit from significant discounts on their purchases. Keep an eye out for special promotions and offers that are periodically available to enhance your shopping experience.
    • I'm having the exactly same problem, do you find another solution? and what are the specifications of your pc?
    • I've used both java 21, 24 and 17 separately and 24 isn't needed but both 21 and 17 are.    Removing modernfix doesn't work just gives separate errors (can't access rn, not home)
    • Omg, tens of tutorials, tweaks, uninstalls and reinstalls, java versions, java arguments, system variables. You. You did it. I bow in awe.
  • Topics

×
×
  • Create New...

Important Information

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