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 Coderanch by Vladimir Bezugliy, 1 year ago
via Google Groups by Ronnie Kwok, 6 months ago
URI has an authority component
via apache.org by Unknown author, 2 years ago
java.lang.IllegalArgumentException: URI has an authority component
at java.io.File.(File.java:368)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:165)
at org.apache.tools.ant.launch.Locator.getResourceSource(Locator.java:119)
at org.apache.tools.ant.launch.Locator.getClassSource(Locator.java:90)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:161)

Users with the same issue

Once, 2 months ago
3 times, 5 months ago
Once, 9 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.