java.lang.IllegalArgumentException: URI scheme is not "file"

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 Oracle Community by rangalo, 1 year ago
via Google Groups by jan...@gmail.com, 2 years ago
via Google Groups by jan...@gmail.com, 2 years ago
via Oracle Community by 843807, 1 year ago
URI is not hierarchical
via verydemo.com by Unknown author, 2 years ago
via verydemo.com by Unknown author, 2 years ago
java.lang.IllegalArgumentException: URI scheme is not "file"
at java.io.File.(File.java:366)
at com.sun.enterprise.deployment.util.ConnectorAnnotationDetector.hasAnnotationInArchive(ConnectorAnnotationDetector.java:65)
at com.sun.enterprise.deployment.archivist.ConnectorArchivist.postHandles(ConnectorArchivist.java:116)
at com.sun.enterprise.deployment.archivist.ArchivistFactory.getPrivateArchivistFor(ArchivistFactory.java:165)
at com.sun.enterprise.deployment.archivist.ArchivistFactory.getPrivateArchivistFor(ArchivistFactory.java:131)
at org.glassfish.appclient.client.acc.UndeployedLaunchable.newUndeployedLaunchable(UndeployedLaunchable.java:84)
at org.glassfish.appclient.client.acc.Launchable$LauchableUtil.newLaunchable(Launchable.java:114)
at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:161)
at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.createContainerForAppClientArchiveOrDir(AppClientContainerAgent.java:407)
at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.createContainer(AppClientContainerAgent.java:377)
at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)

Users with the same issue

Once, 3 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.