{"action":"created","issue":{"url":"https://api.github.com/repos/Netflix/zuul/issues/104","labels_url":"https://api.github.com/repos/Netflix/zuul/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/Netflix/zuul/issues/104/comments","events_url":"https://api.github.com/repos/Netflix/zuul/issues/104/events","html_url":"https://github.com/Netflix/zuul/issues/104","id":57054138,"number":104,"title":"gradle jettyRun on zuul-simple-webapp fails with ClassCastException","user":{"login":"jinnah79","id":10922194,"avatar_url":"https://avatars.githubusercontent.com/u/10922194?v=3","gravatar_id":"","url":"https://api.github.com/users/jinnah79","html_url":"https://github.com/jinnah79","followers_url":"https://api.github.com/users/jinnah79/followers","following_url":"https://api.github.com/users/jinnah79/following{/other_user}","gists_url":"https://api.github.com/users/jinnah79/gists{/gist_id}","starred_url":"https://api.github.com/users/jinnah79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinnah79/subscriptions","organizations_url":"https://api.github.com/users/jinnah79/orgs","repos_url":"https://api.github.com/users/jinnah79/repos","events_url":"https://api.github.com/users/jinnah79/events{/privacy}","received_events_url":"https://api.github.com/users/jinnah79/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-09T16:32:30Z","updated_at":"2015-02-14T02:14:51Z","closed_at":null,"body":"I am running this in Windows 7 machine. Following is the stacktrace.\r\nFAILURE: Build failed with an exception.\r\n\r\n* Where:\r\nScript 'D:\\Projects\\HA Architecture\\Tools\\zuul-1.x\\zuul-1.x\\gradle\\convention.gradle' line: 27\r\n\r\n* What went wrong:\r\nA problem occurred evaluating script.\r\n> java.lang.String cannot be cast to org.gradle.api.artifacts.Configuration\r\n\r\n* Try:\r\nRun with --info or --debug option to get more log output.\r\n\r\n* Exception is:\r\norg.gradle.api.GradleScriptException: A problem occurred evaluating script.\r\n        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54)\r\n        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:148)\r\n        at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyScript(DefaultObjectConfigurationAction.java:93)\r\n        at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$000(DefaultObjectConfigurationAction.java:36)\r\n        at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$1.run(DefaultObjectConfigurationAction.java:62)\r\n        at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:131)\r\n        at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:37)\r\n        at org.gradle.api.Project$apply$0.call(Unknown Source)\r\n        at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.groovy:34)\r\n        at org.gradle.api.Script$apply$0.callCurrent(Unknown Source)\r\n        at build_387zevgzfkz174674edbyc6aq.run(D:\\Projects\\HA Architecture\\Tools\\zuul-1.x\\zuul-1.x\\build.gradle:13)\r\n        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)\r\n        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:148)\r\n        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:39)\r\n        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)\r\n        at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)\r\n        at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:59)\r\n        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:504)\r\n        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:83)\r\n        at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:42)\r\n        at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)\r\n        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:129)\r\n        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)\r\n        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)\r\n        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)\r\n        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)\r\n        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)\r\n        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)\r\n        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)\r\n        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)\r\n        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)\r\n        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)\r\n        at org.gradle.launcher.Main.doAction(Main.java:33)\r\n        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)\r\n        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)\r\n        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)\r\n        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)\r\nCaused by: java.lang.ClassCastException: java.lang.String cannot be cast to org.gradle.api.artifacts.Configuration\r\n        at org.gradle.api.artifacts.Configuration$Namer.determineName(Configuration.java:87)\r\n        at org.gradle.api.internal.DefaultNamedDomainObjectCollection.add(DefaultNamedDomainObjectCollection.java:70)\r\n        at org.gradle.api.NamedDomainObjectCollection$add.call(Unknown Source)\r\n        at convention_cb8mrdarz5v6qz4tjgsw6v14o$_run_closure1.doCall(D:\\Projects\\HA Architecture\\Tools\\zuul-1.x\\zuul-1.x\\gradle\\convention.gradle:27)\r\n        at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:63)\r\n        at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:130)\r\n        at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:91)\r\n        at org.gradle.api.internal.project.AbstractProject.configure(AbstractProject.java:824)\r\n        at org.gradle.api.internal.project.AbstractProject.configure(AbstractProject.java:829)\r\n        at org.gradle.api.internal.project.AbstractProject.subprojects(AbstractProject.java:812)\r\n        at org.gradle.api.internal.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:225)\r\n        at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:129)\r\n        at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:147)\r\n        at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:79)\r\n        at convention_cb8mrdarz5v6qz4tjgsw6v14o.run(D:\\Projects\\HA Architecture\\Tools\\zuul-1.x\\zuul-1.x\\gradle\\convention.gradle:5)\r\n        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)\r\n        ... 43 more\r\n\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 3.651 secs"},"comment":{"url":"https://api.github.com/repos/Netflix/zuul/issues/comments/74357120","html_url":"https://github.com/Netflix/zuul/issues/104#issuecomment-74357120","issue_url":"https://api.github.com/repos/Netflix/zuul/issues/104","id":74357120,"user":{"login":"osoguru","id":10662162,"avatar_url":"https://avatars.githubusercontent.com/u/10662162?v=3","gravatar_id":"","url":"https://api.github.com/users/osoguru","html_url":"https://github.com/osoguru","followers_url":"https://api.github.com/users/osoguru/followers","following_url":"https://api.github.com/users/osoguru/following{/other_user}","gists_url":"https://api.github.com/users/osoguru/gists{/gist_id}","starred_url":"https://api.github.com/users/osoguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osoguru/subscriptions","organizations_url":"https://api.github.com/users/osoguru/orgs","repos_url":"https://api.github.com/users/osoguru/repos","events_url":"https://api.github.com/users/osoguru/events{/privacy}","received_events_url":"https://api.github.com/users/osoguru/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T02:14:51Z","updated_at":"2015-02-14T02:14:51Z","body":"This is most likely due to Zuul using gradle 1.x for builds. The build scripts haven't been updated for gradle 2.0. Try using the included wrapper (gradlew.bat) to build instead of your local gradle install. "}}