These are both errors invoving generics. The first one is telling you that you are using a raw type (no generics) where a generics type <SomeType> is expected. The second one is teling you that the method getListResult is returning a non-parameterized (non-genericized) List but it is being assigned to a List<DbResult> - type object.
The
java tutorial on oracle's site has a good beginner's intro to generics that will get you past these issues.
It's not an eclipse thing.