Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle Build Fails on project 2.7.01-JsonParsing and above #24

Open
acknapp opened this issue Nov 8, 2020 · 0 comments
Open

Gradle Build Fails on project 2.7.01-JsonParsing and above #24

acknapp opened this issue Nov 8, 2020 · 0 comments

Comments

@acknapp
Copy link

acknapp commented Nov 8, 2020

Running gradlew build after 'gradlew desktop:run' fails on the 2.7.01-JSonParsing project (both exercise and solution) and all projects with higher numbers with the following error:

:html:compileGwt
Compiling module com.udacity.gamedev.gigagal.GdxDefinition
   Validating units:
      [ERROR] Errors in 'file:/C:/Users/<user>/dev/ud406/2.7.01-Exercise-JsonParsing/core/src/com/udacity/gamedev/gigagal/util/LevelLoader.java'
         [ERROR] Line 33: No source code is available for type org.json.simple.parser.JSONParser; did you forget to inherit a required module?
         [ERROR] Line 37: No source code is available for type org.json.simple.JSONObject; did you forget to inherit a required module?
         [ERROR] Line 49: No source code is available for type org.json.simple.JSONArray; did you forget to inherit a required module?
   [ERROR] Aborting compile due to errors in some input files
:html:compileGwt FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':html:compileGwt'.
> Process 'command 'C:\Program Files\Amazon Corretto\jdk1.8.0_252\bin\java.exe'' finished with non-zero exit value 1

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

BUILD FAILED

Total time: 3.849 secs

These gradle commands work together in projects with lower numbers in the repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant