Character encoding error in "Hello World" application in Play Framework 2.0
I am learning Play Framework. So I decided to start with this tutorial . After building my first application and trying to see it at localhost: 9000. I get an error.
In Google Chrome, when you try to open the page, the tab immediately closes and loads a file with the following content:
- FHcodeProtocolExceptionmessageinvalid message tagZ
Internet Explorer won't close but shows me the same message. In Firefox, I am getting the same error.
I tried to change the encoding in Firefox but nothing happens. If I use Ubuntu instead of Windows, the problem does not occur.
I use:
- Play framework 2.0
- Windows 7 Ultimate 64-bit
- Java (TM) SE Runtime Environment (build 1.6.0_31-b05)
- Google Chrome 19.0.1068 dev-m
- Firefox 11
- Internet Explorer 9
I haven't configured any files yet. I only used the commands in the tutorial:
~$ play new helloworld ~$ cd helloworld ~$ play run
Any ideas what I am doing wrong?
Thank you in advance:)
source to share
Check out the new tutorial: http://www.playframework.org/documentation/2.0/JavaTodoList
Play 2.0 is different from 1.2.4 and this is probably the main reason you got errors. There is another way to create applications.
If you want to use the activator with a playback framework then check this -
https://quintupledev.wordpress.com/2016/03/01/play-framework-intro-hello-world/
source to share