Marlon León
Marlon León

Reputation: 170

Error in character encoding in "Hello World" application of Play Framework 2.0

I'm learning about Play Framework. So I decided to start with this tutorial. After creating the first application and trying to see it in localhost:9000. I receive an error.

In Google Chrome when I try to open the page, the tab closes immediatly and downloads a file with the next content:

Internet Explorer doesn't close but shows me the same message. In Firefox I get the same error.

I've tried changing the encoding in Firefox but nothing happens. If instead of Windows, I use Ubuntu the problem doesn't happen

I'm using:

I haven't moodified any file yet. I only have used the commands in the tutorial:


~$ play new helloworld
~$ cd helloworld
~$ play run

Any ideas of what I'm doing wrong?

Thanks in advance :)

Upvotes: 3

Views: 404

Answers (1)

Marek Sybilak
Marek Sybilak

Reputation: 63

Check the new tutorial: http://www.playframework.org/documentation/2.0/JavaTodoList

Play 2.0 is different than 1.2.4 and it is probably the main reason you got errors. There is a different way you build apps.

If you want to use activator with play framework then check this out -

https://quintupledev.wordpress.com/2016/03/01/play-framework-intro-hello-world/

Upvotes: 1

Related Questions