开发者

Roo doesn't update class-files anymore

开发者 https://www.devze.com 2023-03-29 00:56 出处:网络
After working for weeks on a Roo Project mine stopped to update the .class-files inside the direc开发者_开发知识库tory:

After working for weeks on a Roo Project mine stopped to update the .class-files inside the direc开发者_开发知识库tory:

Project\src\main\webapp\WEB-INF\classes\com\company

and

Project\src\main\webapp\WEB-INF\classes\com\company\web

When I deploy with STS on the local Tomcat it used the new class-files but perform package command used the old one from the locations mentioned above.

Once I deployed the war-file to a remote server I got silly errors. It took me like one workday to figure out what is going wrong.

How can I make Roo update the .class-files again? I tried poll now but it finishes within one second without any results.


Have you tried doing a perform clean from within the roo shell? This should remove the target folder and rebuild all your class files.

0

精彩评论

暂无评论...
验证码 换一张
取 消