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 error #3

Open
itdev123 opened this issue Jul 22, 2019 · 5 comments
Open

gradle error #3

itdev123 opened this issue Jul 22, 2019 · 5 comments

Comments

@itdev123
Copy link

While running gradle clean buildDocker, I got error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':silverstring-web:buildDocker'.

Docker execution failed
Command line [docker build -t com.silverstring/silverstring-web:1.0-SNAPSHOT C:\Users\AIQT\Downloads\silverstring-exchange-master\silverstring-web\build\docker] returned:
Get https://registry-1.docker.io/v2/library/java/manifests/8: unauthorized: incorrect username or password

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

BUILD FAILED

@sseokk
Copy link

sseokk commented Jul 23, 2019

While running gradle clean buildDocker, I got error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':silverstring-web:buildDocker'.

Docker execution failed
Command line [docker build -t com.silverstring/silverstring-web:1.0-SNAPSHOT C:\Users\AIQT\Downloads\silverstring-exchange-master\silverstring-web\build\docker] returned:
Get https://registry-1.docker.io/v2/library/java/manifests/8: unauthorized: incorrect username or password

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

BUILD FAILED

these source code has a lots of errors,

/build.gradle
// utils
compileOnly 'org.projectlombok:lombok:1.16.10'
annotationProcessor 'org.projectlombok:lombok:1.16.10'

silverstring-web/src/build.gradle
add...

springBoot {
mainClass = "io.silverstring.web.Application"
}

@itdev123
Copy link
Author

Hi, thanks for your response.
Where should I add the second part in build.gradle ?

@sseokk
Copy link

sseokk commented Jul 23, 2019

silverstring-web/src/build.gradle

around middle?
You can find it

@itdev123
Copy link
Author

I added, but the same error
How can I fix that?

@itdev123
Copy link
Author

what should jdk, gradle version be?

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

2 participants