Please upload your ejs source as attachement.

You should not compile ejs generated java file. You should use EJS to compile it for you!