Why hot deploy don't work for java class?


I created a portal module. It contains a controller. I added hot deploy conf for portal module. After server started, I change the controller then I saw the this output.

[12:07:35.809] Hot deploy: modules\portal\src\com\cuba\samplepack\portal\controllers\AssetsController.java -> deploy\tomcat\conf\app

When I check the deploy directory, the controller java file copied to tomcat directory. But I request to controller again it works with old contoller file. New state of controller class not deploy in tomcat. What am I doing wrong? Thank you.

2017-09-17 12_14_24-ApplePassbook - CUBA Studio


Unfortunately, hot deploy is not supported for Spring MVC controllers yet. It works only for Spring Beans in web/gui/core modules and for UI screens.

:ticket: See the following issue in our bug tracker: