Ebean evolution

Does anyone knows how to solve this issue:

CreationException: Unable to create injector, see the following errors:

  1. Error injecting constructor, io.ebean.config.BeanNotEnhancedException: Bean class models.Elo is not enhanced?

I’ve added the ebean in plugins: addSbtPlugin(“com.typesafe.sbt” % “sbt-play-ebean” % “5.0.2”)
Enabled the plugin in build sbt .enablePlugins(PlayJava, PlayEbean)
Added the configuration at application.conf: ebean.default=“models.*”

Then I’ve created a base model:

public class BaseModel extends Model {
   public Long id;

Till here everything was fine. But when I created the first model this error poped up

public class Elo extends BaseModel {
    public String name;

Fixed just by installing an extention on my Visual Studio code. witch is kind of wierd because I don’t see any code changes…