question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Html module fails to run task superDev

See original GitHub issue

Issue details

Html task superDev fails due to gretty not being fetchable from maven.

Fix: https://stackoverflow.com/questions/66304743/getting-error-on-gretty-when-building-html-project-for-libgdx

Reproduction steps/code

Create a new project via the setup app and try to run gradle taks superDev

Version of LibGDX and/or relevant dependencies

1.9.14

Stacktrace

 ./gradlew.bat superDev
> Task :html:beforeRun FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':html:beforeRun'.
> Could not resolve all files for configuration ':html:grettyRunnerJetty94'.
   > Could not find org.gretty:gretty-runner-jetty94:3.0.2.
     Searched in the following locations:
       - file:/C:/Users/lyze/.m2/repository/org/gretty/gretty-runner-jetty94/3.0.2/gretty-runner-jetty94-3.0.2.pom
       - https://repo.maven.apache.org/maven2/org/gretty/gretty-runner-jetty94/3.0.2/gretty-runner-jetty94-3.0.2.pom
       - https://dl.google.com/dl/android/maven2/org/gretty/gretty-runner-jetty94/3.0.2/gretty-runner-jetty94-3.0.2.pom
       - https://oss.sonatype.org/content/repositories/snapshots/org/gretty/gretty-runner-jetty94/3.0.2/gretty-runner-jetty94-3.0.2.pom
       - https://oss.sonatype.org/content/repositories/releases/org/gretty/gretty-runner-jetty94/3.0.2/gretty-runner-jetty94-3.0.2.pom
     Required by:
         project :html

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

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See **https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings**

Please select the affected platforms

  • Android
  • iOS
  • HTML/GWT
  • Windows
  • Linux
  • MacOS

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
fabiitchcommented, Feb 23, 2021

@lyze237 you can add jcenter() in repositories inside build.gradle for fix temporarily.

2reactions
obigucommented, Feb 22, 2021

Good point, I’ll replace all the references on the #6428 PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

libGDX Execution failed for task ':html:draftCompileGwt'
No problem when I'm running desktop but when I'm running HTML with ./gradlew html:superDev. Console error. Task :html:draftCompileGwt FAILED ...
Read more >
[Libgx] HTML Project Failing to Run - Spine
Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':html:superDev'. at org.gradle.api.internal.tasks.
Read more >
Using SuperDevMode - GWT Gradle Plugin
To start the Super Dev Mode, execute the task “gwtSuperDev”. When it is ready you will see the message “Next, visit: http://localhost:9876/”.
Read more >
GWTTestCase fails due to wrong loadScriptTagFiles.js path?
It seems to be doubling up the module name when looking for 'loadScriptTagFile.js'. Opening the path in my browser, and removing the extra...
Read more >
When I run my flow, I see an error: Failed to load and execute ...
The problem seems to be that the GitHub storage only clones the single file and not the entire project which causes my import...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found