Sbt assembly hangs on my Mac

点点圈 提交于 2019-12-24 13:33:13

问题


I have had this problem since the day I started using assembly . sbt assembly (for any project) never completes on my Mac. It just hangs at the last step . For this one reason . I transfer my code to a Linux box and build there . Anyone else has experienced this ? . Any ideas on how I can go about debugging ? . I had Lion with Java 1.6.0_37 . Now upgraded to Mountain Lion


回答1:


I had the same problem some time ago. Do you have anti-virus software installed? In my case it was Sophos, that tried to check the jar, while sbt was still building it, which somehow led to 100% CPU usage and the assembly task taking forever. Check your activity monitor for task other than java using large amounts of cpu time and try to deactivate them. I don't know if there is a way to keep Sophos from checking the jars, would be interesting though.



来源:https://stackoverflow.com/questions/13965858/sbt-assembly-hangs-on-my-mac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!