为什么我的播放框架会说等待.sbt锁可用? [英] Why would my play framework say wait for a .sbt lock to be available?
本文介绍了为什么我的播放框架会说等待.sbt锁可用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
[Sally] $ run
[info] Updating {file:/Users/MyName/Desktop/sally/todolist/}Sally...
Waiting for lock on /Users/MyName/Documents/play-2.1.3/repository/.sbt.ivy.lock to be available...
Sally是我项目的名字.我正在学习如何使用游戏.昨天一切都很棒.今天,当我醒来并打开计算机时,一切都陷入了困境.尝试运行程序时,我一直看到此消息.
Sally is my project's name. I am learning how to use play. Yesterday It was all awesome. Today when I woke up and opened my computer, everything went to hell. I kept seeing this message when I try to run the program.
这个锁到底是什么?我应该卸载/删除框架然后重新安装它吗? (顺便说一句,我该怎么做?)
What is this lock anyway? Should I uninstall/remove the framework and reinstall it?? (Btw how do I do that?)
推荐答案
只需删除.lock
文件.在解决依赖关系时使用它,并在启动两个Play控制台时避免冲突.
Just remove the .lock
file. It is used when resolving dependancies and to avoid conflicts if you launch two Play consoles.
这篇关于为什么我的播放框架会说等待.sbt锁可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文