Activator Eclipse Command is not working In PlayFramwork

When i run 

activator eclipse

command then i get following error.

[info] Set current project to demo (in build file:/home/anuj/playapp/demo/)
[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]        ^

How can i import scala project to eclipse ?

I run this command for scala project import to eclipse . But when i run activator eclipse command , i get error.
 

Solution:

Go to project folder inside your project and Append this below to your plugins.sbt file:

addSbtPlugin(“com.typesafe.sbteclipse” % “sbteclipse-plugin” % “4.0.0”)
 
now run again
 
activator eclipse command and you will run this command now successfully. After that you can import this project to eclipse.
 
 
 
 
 

Leave a Reply

Your email address will not be published. Required fields are marked *

5 + 3 =