- Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Description
In Spring Boot 1.3.x this code works if "/mydir" is in the parent archive (i.e. src/main/resources
in the project that creates the jar):
Resource resource = new ClassPathResource("/mydir"); Paths.get(resource.getURI());
In 1.4.x it throws FileSystemNotFoundException
which isn't even an IOException
, so it breaks existing apps.
kaqqao, YodesYang, Hronom, rhoegg, KeesKoffeman and 7 morePasupathi-Rajamanickam and dnswdPasupathi-Rajamanickam
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement