CAMEL-8504. ClassPathURIResolver does:
Depending on the ClassLoader implementation, platform dependent paths for resource lookups are not guaranteed to work (which arguably could be considered a bug in the ClassLoader impl).
Looking at the git history, it seems this code has swapped between using File.separator and "/" a few times now. However, I see no clear reason why we need to use File.separator in the resource lookup. "/" should work perfectly fine in all cases.