0

I am new to play framework and have managed to make the activator work on the cmd of Windows. Now that I created my project in Eclipse, I can't modify my index.scala.html file as shown in a tutorial I am following. Any feedback or suggestion on how to manipulate those files will be appreciated, thanks!

Note: Does it has something to do with the fact that the page localhost:9000 does not open up for me?

13
  • The link to the tutorial might help and the step where you're stuck maybe too. Commented Jun 20, 2014 at 18:19
  • youtube.com/watch?v=mST2YmQYgS8 at 3:12. I can't make the localhost page appear(later in the video) and I can't manipulate files like he does... even if I have the project created Commented Jun 20, 2014 at 18:22
  • did you created the application using the play console? have you tried following the steps found on the Getting Started Section right hand side Commented Jun 20, 2014 at 18:30
  • Yes, I got to the create new application part. My app is created. If it helps, I started the activator UI command and it told me that it failed in downloading org.scala-lang#scala-compiler;2.10.2!scala-compiler.jar Commented Jun 20, 2014 at 18:41
  • do you use some proxy? Commented Jun 20, 2014 at 18:43

2 Answers 2

1

Eclipse may be missing the association between the html file type and the text editor.

  1. Go to Preferences -> General -> Content Types
  2. Select Text
  3. Click Add
  4. Then add *.html and *htm to the File Associations.
  5. Click Ok

Now when double clicking on an html file in the Package Explorer, it should open an edit view.

Sign up to request clarification or add additional context in comments.

Comments

0

On windows, and on any other system, your hosts file can be broken. http://en.m.wikipedia.org/wiki/Hosts_(file)

Using 127.0.0.1:9000 will work the same on any system. While 0.0.0.0:9000, 0:9000 may work only on more advanced browsers.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.