Skip to content

gradle build is giving FileNotFoundException #4

@jchowdhary

Description

@jchowdhary

I am trying to make the "gradlew build" but after downloading gradle to the latest version, it throws error FileNotFoundException on the root directory..I am running the build in jdk8, windows 10 enviornment.
Am i missing something
`C:\Research\cf-SpringBootTrader>gradlew build

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not create service of type DefaultClassLoaderRegistry using GlobalScopeSer
    vices.createClassLoaderRegistry().

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

Here is the more detailed error..
20:45:56.999 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.in
ternal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod(DefaultS
erviceRegistry.java:739)
20:45:57.015 [ERROR] [org.gradle.BuildExceptionReporter] ... 34 more
20:45:57.015 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.io.File
NotFoundException: C:\Users\HP (The system cannot find the file specified)
20:45:57.015 [ERROR] [org.gradle.BuildExceptionReporter] at java.util.zip
.ZipFile.open(Native Method)
20:45:57.015 [ERROR] [org.gradle.BuildExceptionReporter] at java.util.zip
.ZipFile.(Unknown Source)

I am also looking into it.if you have any pointers pls share

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions