user2462505
user2462505

Reputation: 69

Error in compilation of scala file in play

I have a Scala file and I am using Play Framework 2.0.4 to compile it. Here is a part of it

import play.api.templates.Html;
import play.api.templates.Txt;
import securesocial.controllers.Registration.RegistrationInfo;
import securesocial.controllers.TemplatesPlugin.
import securesocial.core.{SecuredRequest, SocialUser};
import play.api.data.Form;
import securesocial.core.Identity;
import securesocial.core.SecureSocial._;
import securesocial.controllers.PasswordChange.ChangeInfo;

At compile time I get this error

identifier expected but 'import' found.

What is the issue here?

Upvotes: 0

Views: 358

Answers (1)

damian
damian

Reputation: 1419

Could it be import securesocial.controllers.TemplatesPlugin.: the trailing dot? Either remove the dot or make it import securesocial.controllers.TemplatesPlugin._

Upvotes: 4

Related Questions