This could be due improper build of the bundle.
once go to your localhost<port:no>/system/console/bundles and check the last updated time of the project bundle, if its time is not updates. delete the bundle and upload the target jar file generated after building the project and install it.
this should work.
hope my answer might help you.
kindly ignore if my answer doesn't make any sense.