Answer the question
In order to leave comments, you need to log in
Error loading Minecraft project (mod) in Intelliji, how to solve?
Here is the error that popped up right after loading the project in Intelliji after running build.gardle:
FAILURE: Build failed with an exception.
* Where:
Initialization script 'C:\Users\D1ma$PC\AppData\Local\Temp\ijinit.gradle' line: 15
* What went wrong:
A problem occurred evaluating initialization script.
> Could not get unknown property 'PC' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating initialization script.
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:92)
at
org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:180)
$1$1.run(BuildOperationScriptPlugin.java:69)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:301)...
org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run (DefaultScriptRunnerFactory.java:90)
BUILD FAILED in 2s
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question