java.lang.IllegalArgumentException: URI has an authority component**

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by thedruggist
, 1 year ago
via Stack Overflow by Matt
, 10 months ago
URI has an authority component
via GitHub by bflorat
, 2 years ago
URI scheme is not "file"
via Stack Overflow by user3874188
, 2 years ago
URI has an authority component
java.lang.IllegalArgumentException: URI has an authority component**
at java.io.File.(File.java:423)
at org.gradle.internal.classloader.ClasspathUtil.getClasspathForClass(ClasspathUtil.java:68)
at org.gradle.internal.installation.CurrentGradleInstallationLocator.findDistDir(CurrentGradleInstallationLocator.java:54)
at org.gradle.internal.installation.CurrentGradleInstallationLocator.locateViaClass(CurrentGradleInstallationLocator.java:45)
at org.gradle.internal.installation.CurrentGradleInstallationLocator.locateViaClassLoader(CurrentGradleInstallationLocator.java:41)
at org.gradle.internal.installation.CurrentGradleInstallationLocator.locate(CurrentGradleInstallationLocator.java:31)
at org.gradle.internal.installation.CurrentGradleInstallation.locate(CurrentGradleInstallation.java:46)
at org.gradle.internal.installation.CurrentGradleInstallation.get(CurrentGradleInstallation.java:41)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:45)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)

Users with the same issue

Once, 3 months ago
3 times, 5 months ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.