alibaba/spring-cloud-alibaba
Vedi su GitHubFileNotFoundException throws when rules is provided by local resources in classpath and executed in command line
Open
#462 aperta il 20 mar 2019
area/sentinelgood first issue
Metriche repository
- Star
- (29.106 star)
- Metriche merge PR
- (Merge medio 6g 3h) (7 PR mergiate in 30 g)
Descrizione
Component: Sentinel
Description: If the rules were configured in local file in classpath and executed the built jar in command line, FileNotFoundException throws, says,
class path resource [sentinel.json] cannot be resolved to absolute file path because it does not reside in the file system:jar:file:/D:/projects/a/b/c/blabal.jar!/BOOT-INF/classes!/sentinel.json
Investigation: class: FileDataSourceProperties method:preCheck