Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileSystemProviders from jar-files are not found when running as executable jar generated via spring-boot-maven-plugin #40504

Closed
grmblfrz opened this issue Apr 24, 2024 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@grmblfrz
Copy link

grmblfrz commented Apr 24, 2024

In a project which uses com.github.robtimus:ftp-fs I found that the FileSystemProvider for ftp (and ftps) is not registered when running as executable jar file, so FileSystems.newFileSystem("ftp://...") fails. The identical code works when run in the IDE (intellij).
I've prepared a small test project which demonstrates the problem: fsibug.
I'm aware that it is possible to use the provider directly via new FTPFileSystemProvider().newFileSystem("ftp://...") in my use case so I have a workaround but it has cost me some time to find the problem. Would be great if this could be fixed.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 24, 2024
@wilkinsona
Copy link
Member

Duplicates #6626.

@wilkinsona wilkinsona closed this as not planned Won't fix, can't repro, duplicate, stale Apr 24, 2024
@wilkinsona wilkinsona added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants