Merge pull request #553 from ascrutae/fix/spring-plugin

fix the spring mvc plugin occur exception when the application running in spring 3
This commit is contained in:
吴晟 Wu Sheng 2017-10-27 16:24:40 +08:00 committed by GitHub
commit 4a9626fff4
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"
};
}
}