Take the 2-minute tour ×

I am trying to use in the following way:

public User getModel() {
    return user;

And I get the following error message generated by Eclipse:

Multiple markers at this line

  • The method getModel() of type UserAction must override a superclass method
  • implements com.opensymphony.xwork2.ModelDriven.getModel
share|improve this question
Did you try searching for Multiple Markers before posting? –  Old Pro Apr 23 '12 at 21:45
What is your class definition? class Clazz extends ModelDriven<UserAction> ? –  Gren Apr 23 '12 at 22:13

1 Answer 1

It means that there are multiple problems at that line. One of which is the fact that you can't use @Override if a method with the same signature does not exist in the superclass.

share|improve this answer

Your Answer


