LoginSignup
3
2

More than 5 years have passed since last update.

./activator eclipse でエラーしたとき

Posted at

少し引っかかったのでメモ
eclipse用プロジェクトにする時

>>> activator eclipse
[info] Loading project definition from /path/to/project
[info] Updating {file:/path/to/project/}playapp-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Set current project to playapp (in build file:/path/to/project/)
[error] Not a valid command: eclipse (similar: help, alias)
[error] Not a valid project ID: eclipse
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: eclipse (similar: deliver, licenses, clean)
[error] eclipse
[error]        ^

なんでだ?
プロジェクトを作成するときのテンプレート指定が間違っていたようだ
minimal-java だとダメっぽい

>>> activator new playapp

Fetching the latest list of templates...

Browse the list of templates: http://typesafe.com/activator/templates
Choose from these featured templates or enter a template name:
  1) minimal-akka-java-seed
  2) minimal-akka-scala-seed
  3) minimal-java
  4) minimal-scala
  5) play-java
  6) play-scala
(hit tab to see a list of all templates)
> 5
OK, application "playapp" is being created using the "play-java" template.

こちら(minimalじゃない奴)を選択したらうまく行った

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2