org.gradle.api.GradleException: Could not generate a proxy class for > class org.gradle.api.internal.project.DefaultProject. > at org.gradle.api.internal.AbstractClassGenerator. > generateUnderLock(AbstractClassGenerator.java:201) > at org.gradle.api.internal.AbstractClassGenerator.generate( > AbstractClassGenerator.java:64) > at org.gradle.api.internal.ClassGeneratorBackedInstantiat > or.newInstance(ClassGeneratorBackedInstantiator.java:36) > at org.gradle.api.internal.project.ProjectFactory. > createProject(ProjectFactory.java:40) > at org.gradle.api.internal.project.ProjectFactory. > createProject(ProjectFactory.java:28) > at org.gradle.initialization.InstantiatingBuildLoader. > createProjects(InstantiatingBuildLoader.java:45) > at org.gradle.initialization.InstantiatingBuildLoader.load( > InstantiatingBuildLoader.java:36) > at org.gradle.initialization.ProjectPropertySettingBuildLoa > der.load(ProjectPropertySettingBuildLoader.java:48) > at org.gradle.initialization.NotifyingSettingsLoader. > findAndLoadSettings(NotifyingSettingsLoader.java:35) > at org.gradle.initialization.DefaultGradleLauncher.doBuildStages( > DefaultGradleLauncher.java:119) > at org.gradle.initialization.DefaultGradleLauncher.access$ > 200(DefaultGradleLauncher.java:32) > at org.gradle.initialization.DefaultGradleLauncher$1. > create(DefaultGradleLauncher.java:99) > at org.gradle.initialization.DefaultGradleLauncher$1. > create(DefaultGradleLauncher.java:93) > at org.gradle.internal.progress.DefaultBuildOperationExecutor.run( > DefaultBuildOperationExecutor.java:90) > at org.gradle.internal.progress.DefaultBuildOperationExecutor.run( > DefaultBuildOperationExecutor.java:62) > at org.gradle.initialization.DefaultGradleLauncher.doBuild( > DefaultGradleLauncher.java:93) > at org.gradle.initialization.DefaultGradleLauncher.run( > DefaultGradleLauncher.java:82) > at org.gradle.launcher.exec.InProcessBuildActionExecuter$ > DefaultBuildController.run(InProcessBuildActionExecuter.java:94) > at org.gradle.tooling.internal.provider. > ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28) > at org.gradle.launcher.exec.ChainingBuildActionRunner.run( > ChainingBuildActionRunner.java:35) > at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute( > InProcessBuildActionExecuter.java:43) > at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute( > InProcessBuildActionExecuter.java:28) > at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute( > ContinuousBuildActionExecuter.java:81) > at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute( > ContinuousBuildActionExecuter.java:46) > at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActi > onExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51) > at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActi > onExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28) > at org.gradle.launcher.cli.RunBuildAction.run( > RunBuildAction.java:43) > at org.gradle.internal.Actions$RunnableActionAdapter.execute( > Actions.java:173) > at org.gradle.launcher.cli.CommandLineActionFactory$ > ParseAndBuildAction.execute(CommandLineActionFactory.java:241) > at org.gradle.launcher.cli.CommandLineActionFactory$ > ParseAndBuildAction.execute(CommandLineActionFactory.java:214) > 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:207) > 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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Jose Gutierrez de la Concha, 1 year ago
Could not generate a proxy class for > class org.gradle.api.internal.project.DefaultProject. > at org.gradle.api.internal.AbstractClassGenerator. > generateUnderLock(AbstractClassGenerator.java:201) > at
org.gradle.api.GradleException: Could not generate a proxy class for > class org.gradle.api.internal.project.DefaultProject. > at org.gradle.api.internal.AbstractClassGenerator. > generateUnderLock(AbstractClassGenerator.java:201) > at org.gradle.api.internal.AbstractClassGenerator.generate( > AbstractClassGenerator.java:64) > at org.gradle.api.internal.ClassGeneratorBackedInstantiat > or.newInstance(ClassGeneratorBackedInstantiator.java:36) > at org.gradle.api.internal.project.ProjectFactory. > createProject(ProjectFactory.java:40) > at org.gradle.api.internal.project.ProjectFactory. > createProject(ProjectFactory.java:28) > at org.gradle.initialization.InstantiatingBuildLoader. > createProjects(InstantiatingBuildLoader.java:45) > at org.gradle.initialization.InstantiatingBuildLoader.load( > InstantiatingBuildLoader.java:36) > at org.gradle.initialization.ProjectPropertySettingBuildLoa > der.load(ProjectPropertySettingBuildLoader.java:48) > at org.gradle.initialization.NotifyingSettingsLoader. > findAndLoadSettings(NotifyingSettingsLoader.java:35) > at org.gradle.initialization.DefaultGradleLauncher.doBuildStages( > DefaultGradleLauncher.java:119) > at org.gradle.initialization.DefaultGradleLauncher.access$ > 200(DefaultGradleLauncher.java:32) > at org.gradle.initialization.DefaultGradleLauncher$1. > create(DefaultGradleLauncher.java:99) > at org.gradle.initialization.DefaultGradleLauncher$1. > create(DefaultGradleLauncher.java:93) > at org.gradle.internal.progress.DefaultBuildOperationExecutor.run( > DefaultBuildOperationExecutor.java:90) > at org.gradle.internal.progress.DefaultBuildOperationExecutor.run( > DefaultBuildOperationExecutor.java:62) > at org.gradle.initialization.DefaultGradleLauncher.doBuild( > DefaultGradleLauncher.java:93) > at org.gradle.initialization.DefaultGradleLauncher.run( > DefaultGradleLauncher.java:82) > at org.gradle.launcher.exec.InProcessBuildActionExecuter$ > DefaultBuildController.run(InProcessBuildActionExecuter.java:94) > at org.gradle.tooling.internal.provider. > ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28) > at org.gradle.launcher.exec.ChainingBuildActionRunner.run( > ChainingBuildActionRunner.java:35) > at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute( > InProcessBuildActionExecuter.java:43) > at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute( > InProcessBuildActionExecuter.java:28) > at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute( > ContinuousBuildActionExecuter.java:81) > at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute( > ContinuousBuildActionExecuter.java:46) > at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActi > onExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51) > at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActi > onExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28) > at org.gradle.launcher.cli.RunBuildAction.run( > RunBuildAction.java:43) > at org.gradle.internal.Actions$RunnableActionAdapter.execute( > Actions.java:173) > at org.gradle.launcher.cli.CommandLineActionFactory$ > ParseAndBuildAction.execute(CommandLineActionFactory.java:241) > at org.gradle.launcher.cli.CommandLineActionFactory$ > ParseAndBuildAction.execute(CommandLineActionFactory.java:214) > 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:207) > 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.GradleMain.main(GradleMain.java:23)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.