I didn't get to import the part 2 to eclipse. But, I copied the class
but this example seems to be out of date.
For example:
br.com.caelum.example.model
Payment.java
@Override
public void configureRelations(RelationBuilder builder) {
builder.relation("self").uses(PaymentsController.class).show(id);
}
Using the current HypermediaResource signature:
@Override
public List<Relation> getRelations(Restfulie client) {
client.relation("self").uses(PaymentsController.class).show(id);
}
But what do I need to return?
> I also get this error here =S
>
> What about part 2? It works?
>