java.lang.IllegalArgumentException

URI scheme is not "file"

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18854

  • via GitHub by DHAnderson
    , 8 months ago
    URI scheme is not "file"
  • URI scheme is not "file"
  • via Coderanch by carlos Muller, 7 months ago
    URI scheme is not "file"
  • Stack trace

    • java.lang.IllegalArgumentException: URI scheme is not "file" at java.io.File.<init>(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 com.sun.enterprise.deployment.archivist.ArchivistFactory.getArchivist(ArchivistFactory.java:79) 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) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Once, 4 months ago
    Unknown user
    Once, 6 months ago
    Unknown user
    Once, 11 months ago
    17 more bugmates