Eclipse部署了JBoss容器,启动时报错:
Publish failed using Ant publisher
Resource is out of sync with the file system: '/cms-ejb/target/classes/com//cmp/ejb/commom/BeanLauncherManagement.class'.
解决方法如下:
第一步,刷新工程代码文件,选中工程,右键菜单中执行 Refresh
操作完成这一步如果能启动就OK了,不能启动就继续执行第二步。
第二步,清除eclipse缓存,然后再重新打包发布