Can't run libGDX, Excluded, how to fix?

I want to write programs that direct to be able to do it, and what you want to write games.
in javafx I thought the only templates you can work and you can't put something of their own.
if someone can teach you to write programs, help to start to become a good programmer, write the program, and to explain the email k4fos568rhvx7ua@gmail.com.
import the libgdx project using build.gradle everything works, run the Aplication and all the red, libgdx runs then disappears and all mistakes Excluded. add in the exception shows two errors.

Error:(5, 22) java: cannot find symbol
symbol: class MyGdxGame
location: package com.mygdx.game
Error:(10, 42) java: cannot find symbol
symbol: class MyGdxGame
location: class com.mygdx.game.desktop.DesktopLauncher
March 19th 20 at 08:24
0 answer

Find more questions by tags libgdxJavaFXIntelliJ IDEAJava