Scala Play无法工作-Could not find configuration file …/framework/sbt/sbt.boot.properties
来源:互联网 发布:王者荣耀代打接单软件 编辑:程序博客网 时间:2024/06/07 05:18
If you try to run Scala play on Windows Git Bash (using msysgit) then you may get the following error
Could not find configuration file ../framework/sbt/sbt.boot.properties
In order to fix this, edit the file
$PLAY_HOME/framework/build
where $PLAY_HOME is the directoy where you have installed Play and change the last line…
from
java ${DEBUG_PARAM} -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=384M ${JAVA_OPTS} -Dfile.encoding=UTF-8 -Dplay.version="${PLAY_VERSION}" -Dsbt.ivy.home=`dirname $0`/../repository -Dplay.home=`dirname $0` -Dsbt.boot.properties=`dirname $0`/sbt/sbt.boot.properties -jar `dirname $0`/sbt/sbt-launch.jar "$@"
to
java ${DEBUG_PARAM} -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=384M ${JAVA_OPTS} -Dfile.encoding=UTF-8 -Dplay.version="${PLAY_VERSION}" -Dsbt.ivy.home=`dirname $0`/../repository -Dplay.home=`dirname $0` -Dsbt.boot.properties=sbt.boot.properties -jar `dirname $0`/sbt/sbt-launch.jar "$@"
NEXT edit the seoond from last line in the file
$PLAY_HOME/framework/play
from
"$JAVA" -Dsbt.ivy.home=$dir/repository -Dplay.home=$dir/framework -Dsbt.boot.properties=$dir/framework/sbt/play.boot.properties -jar $dir/framework/sbt/sbt-launch.jar "$@"
to
"$JAVA" -Dsbt.ivy.home=$dir/repository -Dplay.home=$dir/framework -Dsbt.boot.properties=play.boot.properties -jar $dir/framework/sbt/sbt-launch.jar "$@"
Note the differences are highlighted in bold. I can confirm that this works with Play 2.1.2-RC1 on Windows 7 64bit
- Scala Play无法工作-Could not find configuration file …/framework/sbt/sbt.boot.properties
- Scala + Play + Sbt + Protractor = One Build
- log4j:ERROR Could not read configuration file [log4j.properties]
- log4j_ERROR Could not read configuration file [log4j.properties]
- SBT
- SBT
- SBT!!
- SBT
- SBT
- SBT
- sbt
- SBT
- Could not find qmake configuration file linux-g++.
- sbt构建scala工程
- sbt 构建scala 项目
- [Scala] sbt install script
- sbt构建scala项目
- scala sbt 代理设置
- iOS开发与Android开发的四大不同
- 正确率、召回率和F值
- 学习一点——linux
- 设计模式
- hadoop的诡异MR错误跟踪
- Scala Play无法工作-Could not find configuration file …/framework/sbt/sbt.boot.properties
- session与cookie的区别
- chrome V8 编译实录
- Dolby与DTS杜比环绕与DTS环绕音响
- CloudFoundry云环境中应用的特殊设计
- QT加载jpg\Gif图片
- Datastage性能优化
- Hadoop学习过程中遇到的问题锦集
- velocity.exception.ParseErrorException: Encountered "<EOF>"