Question: I'm trying to show a form with the values but it's not working.

my action:

```
public static Result login() {
    User user = new User();
    user.name = "Murilo";

    Form<User> userForm = form(User.class);

    return ok(login.render(userForm.fill(user)));
}

```

and my html:

```
@(myForm : play.data.Form[models.User])

<!DOCTYPE html>
<html>
<head>
</head>
<body>
     @helper.inputText(myForm("name"))
</body>
</html>

```

but when I access it, the following error throws:

```
type mismatch; found : play.data.Form.Field required: play.api.data.Field

```

Answer: 
This error was for dependency <http://mvnrepository.com/artifact/com.google.http-client/google-http-client/1.7.0-beta>

Once I loaded the google-api-client jar it gave me a new error. But then then someone mentioned that dependencies may depend of other dependencies. So I looked in the repo and found the ones that I needed based on that.

Basically I did not have all the jars that I needed for each one and I didn't know that dependencies can depend of each other.
This error may occurs when any library jar file missing or unable to locate, if you're using netbeans framework and your project name in left side bar is displaying in red font color it indicates project need some fixing. To resolve this right-click on your project name then click on resolve project problem there it will tell you what the exactly problem there and which files are missing or unable to locate then you can set that missing files to your framework.