Skip to content

A request to empty file in runnable jar cause 404 #28107

@dcsuibian

Description

@dcsuibian

Same as this issue: spring-projects/spring-boot#16034

org.springframework.core.io.AbstractFileResolvingResource will consider an empty file in runnable jar is unreadable.

image-20220225162730187

It cause different and confusing behavior after mvn package.

I think empty folders can indeed be considered unreadable, but files should not be the same.

Do you have any plans to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently apply

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions