The other day, I introduced the play framework for the first time, but I didn't know how to do it, so I will summarize it. In my case, the JDK was installed and the path was registered, so I will write on that assumption.
Download from here.
In my case it was Java
Play 2.6.x Starter Projects/
Play Java Starter Example
Move the downloaded folder in the terminal to the answer location.
However, at first, ** I don't have the right to execute the file **, so the following error occurs.
-bash: ./sbt: Permission denied
./sbt: line 3: ./sbt-dist/bin/sbt: Permission denied
This is basically a ** state where the files **
./sbt-dist/bin/sbt do not have execute permission **.
So, change the execution right of the above two files of the file with
chmod from the terminal from
I referred to the following for the concept of execution rights and how to change them.
-Linux permission confirmation and change (for super beginners)
I changed the run right and ran
./sbt run again and it worked!
It seems that it takes about 20 minutes to load ...
After loading, run
http: // localhost: 9000 on your web browser and the sample app will work!