播放模板项目需要订阅类型安全,为什么?

时间:2015-06-10 02:14:19

标签: playframework typesafe-activator

我使用Play Framework创建了一个快速的Web应用程序。我使用了模板play-java-intro-reactive-platform-15v01,创建了一个新应用,当我想要运行$ activator test时,我收到了错误消息:

  

[error] == Typesafe Reactive Platform:project / typesafe.properties必须与typesafe.subscription =<一起存在您的订阅ID&gt ;.

为什么呢?是否可以在不创建订阅的情况下使用模板?

1 个答案:

答案 0 :(得分:2)

请勿使用带有reactive-platform-$version后缀的模板。

因此,只需使用play-java-intro-reactive-platform-15v01模板而不是play-java-intro