Portofino icon indicating copy to clipboard operation
Portofino copied to clipboard

Could not find file with URI because it is a relative path

Open jifffffy opened this issue 3 years ago • 2 comments

Hi, this is a awesome project, so I want to try it. I download the zip file from https://sourceforge.net/projects/portofino/ then I click the startup.bat to start, but I encounter a error:

2022-10-09 15:53:26,279 ERROR c.m.p.dispatcher.AbstractResource          Could not access child: :auth
org.apache.commons.vfs2.FileSystemException: Could not find file with URI "/Users/sunjian/portofino-5.3.2/apache-tomcat-9.0.62/webapps/ROOT/WEB-INF/actions/login" because it is a relative path, and no base URI was provided.
        at org.apache.commons.vfs2.FileSystemException.requireNonNull(FileSystemException.java:88)
        at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:743)
        at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:692)
        at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:648)
        at com.manydesigns.portofino.resourceactions.AbstractResourceAction.getChildLocation(AbstractResourceAction.java:179)
        at com.manydesigns.portofino.dispatcher.AbstractResource.consumePathSegment(AbstractResource.java:98)
        at com.manydesigns.portofino.dispatcher.AbstractResourceWithParameters.consumePathSegment(AbstractResourceWithParameters.java:54)
        at com.manydesigns.portofino.rest.PortofinoRoot.consumePathSegment(PortofinoRoot.java:94)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.glassfish.jersey.server.internal.routing.SubResourceLocatorRouter.lambda$getResource$0(SubResourceLocatorRouter.java:132)
  • OS: winodws 10
  • version: 5.3.2

What should I do? thanks very much!

jifffffy avatar Oct 09 '22 08:10 jifffffy

Hi, thanks for trying Portofino out! It's a known issue on Windows: #566 We're working on releasing a new version to fix this. Sorry for the inconvenience!

alessiostalla avatar Oct 09 '22 08:10 alessiostalla

thank you for your quick reply!

jifffffy avatar Oct 09 '22 08:10 jifffffy

Hi @sunyuyangg555 , we've released Portofino 5.3.3, it should fix the issue. Let me know if it persists or if you find other issues!

alessiostalla avatar Oct 23 '22 08:10 alessiostalla

I'm sorry for replying so late. I have downloaded the 5.3.3. Now all works. I will continue to try, thanks very much!

jifffffy avatar Oct 24 '22 08:10 jifffffy