AnnualReturnsController.java:40: error: illegal static interface method call

crio-user@adiitrack7:~/workspace/adiitrack7-ME_QMONEY$ ./gradlew verifyMavenJarsCreated

Task :verifyMavenJarsCreated
All Maven repository files are created and in place

crio-user@adiitrack7:~/workspace/annual-return-app$ ./gradlew build bootrun

Task :compileJava FAILED
/home/crio-user/workspace/annual-return-app/src/main/java/com/crio/stock/annualreturnapp/AnnualReturnsController.java:40: error: illegal static interface method call
.calculateAnnualizedReturn(portfolio.getPortfolioTrades(), endDate))
^
the receiver expression should be replaced with the type qualifier ‘PortfolioManager’
1 error

FAILURE: Build failed with an exception.

Refer to the following FAQ :slightly_smiling_face:
https://forum.crio.do/t/error-cannot-find-symbol-calculate-annualized-return-parallel/8054/2

i see a lot of remote branches which one to pull…

Just run git pull in anuual-return-app, then re-run the publish and then run bootrun. It should work.

Are you using Portfolio Manager Factory to return an object and then use that object for further calls? Because the error relates to qualifier of receiver.

Hey since I have not received any response from you in the last 18 hours, I am closing this ticket, you can re-open a new ticket