of type 'com.example.stockclient.repository.StockPriceRepository' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
at ...
https://gist.github.com/invzbl3/9a158e5d00c33505de4da55f16f157c6
I have the project with two modules: UI and client.
https://gist.github.com/invzbl3/7f5ee97303056f71ce408b2168fb509f - StockPriceRepository
https://gist.github.com/invzbl3/01fd6d4b067ee0cb489f35fef8fe182b - StockPrice
https://gist.github.com/invzbl3/1c056b80f7ff78702c2a61d41d700751 - StageInitializer
Does anyone know how to fix it to run UI normally?
If I put @ComponentScan on main class like:
https://gist.github.com/invzbl3/6f9a34227a3367b5f2f1ff326006c755 - StockUiApplication
, it helps to solve the problem, but UI doesn't work. It simply won't run.
Обсуждают сегодня