Hello,
I installed Strata in Intellij.
When I try to run any example in package com.opengamma.strata.examples.finance, I always get the same error:
Starting curve calibration: configuration and data loaded from files
Exception in thread “main” java.lang.IllegalArgumentException: Error processing resource as CSV file: UnicodeBom.toCharSource(Files.asByteSource(src\main\resources\example-calibration\quotes\quotes.csv))
** at com.opengamma.strata.loader.csv.QuotesCsvLoader.parseSingle(QuotesCsvLoader.java:235)**
** at com.opengamma.strata.loader.csv.QuotesCsvLoader.parse(QuotesCsvLoader.java:199)**
** at com.opengamma.strata.loader.csv.QuotesCsvLoader.load(QuotesCsvLoader.java:101)**
** at com.opengamma.strata.loader.csv.QuotesCsvLoader.load(QuotesCsvLoader.java:84)**
** at com.opengamma.strata.examples.finance.CalibrationCheckExample.calculate(CalibrationCheckExample.java:165)**
** at com.opengamma.strata.examples.finance.CalibrationCheckExample.calculate(CalibrationCheckExample.java:155)**
** at com.opengamma.strata.examples.finance.CalibrationCheckExample.main(CalibrationCheckExample.java:103)**
Caused by: java.io.UncheckedIOException: java.io.FileNotFoundException: src\main\resources\example-calibration\quotes\quotes.csv (The system cannot find the path specified)
** at com.opengamma.strata.collect.Unchecked.propagate(Unchecked.java:362)**
** at com.opengamma.strata.collect.Unchecked.wrap(Unchecked.java:109)**
** at com.opengamma.strata.collect.io.CsvFile.of(CsvFile.java:93)**
** at com.opengamma.strata.collect.io.CsvFile.of(CsvFile.java:72)**
** at com.opengamma.strata.loader.csv.QuotesCsvLoader.parseSingle(QuotesCsvLoader.java:215)**
** … 6 more**
Caused by: java.io.FileNotFoundException: src\main\resources\example-calibration\quotes\quotes.csv (The system cannot find the path specified)
** at java.io.FileInputStream.open0(Native Method)**
** at java.io.FileInputStream.open(FileInputStream.java:195)**
** at java.io.FileInputStream.(FileInputStream.java:138)**
** at com.google.common.io.Files$FileByteSource.openStream(Files.java:130)**
** at com.google.common.io.Files$FileByteSource.openStream(Files.java:120)**
** at com.opengamma.strata.collect.io.UnicodeBom$1.openStream(UnicodeBom.java:89)**
** at com.google.common.io.CharSource.openBufferedStream(CharSource.java:112)**
** at com.google.common.io.CharSource.readLines(CharSource.java:325)**
** at com.opengamma.strata.collect.io.CsvFile.lambda$of$0(CsvFile.java:93)**
** at com.opengamma.strata.collect.Unchecked.wrap(Unchecked.java:107)**
** … 9 more**
Process finished with exit code 1