eugenp / tutorials

Just Announced - "Learn Spring Security OAuth":
http://bit.ly/github-lsso
MIT License
36.49k stars 54.47k forks source link

[ISSUE] In the showcase of Java Service Provider Interface , command line output is empty #17440

Open wohu233 opened 3 weeks ago

wohu233 commented 3 weeks ago

https://github.com/eugenp/tutorials/tree/master/core-java-modules/java-spi

Steps to Reproduce

Run this command in root of the java-spi module , the command line output is empty.

java -cp "D:\java-spi\exchange-rate-api\target\exchange-rate-api-1.0.0-SNAPSHOT.jar;D:\java-spi\exchange-rate-app\target\exchange-rate-app-1.0
.0-SNAPSHOT.jar;D:\java-spi\exchange-rate-impl\target\exchange-rate-impl-1.0.0-SNAPSHOT.jar;D:\java-spi\exchange-rate-impl\target\depends\*" com.baeldung.rate.app.MainApp

Expected Behavior

Retreiving USD quotes from provider :com.baeldung.rate.impl.YahooFinanceExchangeRateProvider@27973e9b
...
...
...

Environment

Additional Information

ulisseslima commented 2 weeks ago

Hey, @wohu233.

This might be a windows-related issue. This issue will remain open while we look into it.

Article link: https://www.baeldung.com/java-spi