fix the spring mvc plugin occur exception when the application running with spring 3

This commit is contained in:
ascrutae 2017-10-27 15:10:10 +08:00
parent a5b5440274
commit ff5107d136
1 changed files with 9 additions and 0 deletions

View File

@ -111,4 +111,13 @@ public abstract class AbstractControllerInstrumentation extends ClassInstanceMet
}
protected abstract String[] getEnhanceAnnotations();
@Override protected String[] witnessClasses() {
/**
* @see {@link org.springframework.web.servlet.tags.ArgumentTag}
*/
return new String[]{
"org.springframework.web.servlet.tags.ArgumentTag"
};
}
}