Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Forge Build error: java.lang.ClassNotFoundException: com.google.common.io.Files


balthatrix
 Share

Recommended Posts

Hello, and thanks for taking the time to help me out.

 

I'm trying to build a forge environment on windows 7, 64bit.  I'm following the steps here: www.minecraftforge.net/wiki/Installation/Source, with this src distro: 11.14.1.1419, which is the latest at this time.

 

Whenever I try the `gradlew setupDecompWorkspace --refresh-dependencies`, I get the error as mentioned in the subject of this topic:

java.lang.ClassNotFoundException: com.google.common.io.Files

 

In running the build command with --info and --debug, it inspired me to make sure I have maven installed and in the path, as well as java (I'm using jdk1.8.0_45/jre). 

 

I've tried switching to Java 1.7 to see if that make any difference, but it didn't.

 

The following is the stack-trace output, and let me know if you want the --info or --debug output files I made as well.  Thanks again!

org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'ForgeEnv'.

        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54)

        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:187)

        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:39)

        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)

        at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)

        at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)

        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:470)

        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:79)

        at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:31)

        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:128)

        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:105)

        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:85)

        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:81)

        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)

        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)

        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:39)

        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:29)

        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)

        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)

        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)

        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)

        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)

        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)

        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)

        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)

        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)

        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)

        at org.gradle.launcher.Main.doAction(Main.java:33)

        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)

        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)

        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)

        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)

        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)

        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)

        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:56)

Caused by: java.lang.NoClassDefFoundError: com/google/common/io/Files

        at net.minecraftforge.gradle.FileLogListenner.<init>(FileLogListenner.java:35)

        at net.minecraftforge.gradle.common.BasePlugin.apply(BasePlugin.java:91)

        at net.minecraftforge.gradle.common.BasePlugin.apply(BasePlugin.java:49)

        at org.gradle.api.internal.plugins.DefaultPluginContainer.providePlugin(DefaultPluginContainer.java:110)

        at org.gradle.api.internal.plugins.DefaultPluginContainer.addPluginInternal(DefaultPluginContainer.java:69)

        at org.gradle.api.internal.plugins.DefaultPluginContainer.apply(DefaultPluginContainer.java:35)

        at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyPlugin(DefaultObjectConfigurationAction.java:117)

        at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:36)

        at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:85)

        at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:130)

        at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:41)

        at org.gradle.api.Project$apply$0.call(Unknown Source)

        at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.groovy:34)

        at org.gradle.api.Script$apply$0.callCurrent(Unknown Source)

        at build_2tdpdrfe4sv7iqsep3omdjkh7f.run(C:\ForgeEnv\build.gradle:18)

        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)

        ... 34 more

Caused by: java.lang.ClassNotFoundException: com.google.common.io.Files

        ... 50 more

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
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.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.