We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug 环境:window10 1909 JDK: 1.8.0_181 64位 插件 :2.0.1 扫描如下代码: private void refreshZuulProperties(ConfigChangeEvent changeEvent) { log.info("Refreshing gateway properties!"); this.publisher.publishEvent(new EnvironmentChangeEvent(changeEvent.changedKeys())); //this.applicationContext.publishEvent(new RefreshScopeRefreshedEvent(routeLocator)); this.publisher.publishEvent(new RefreshRoutesEvent(routeLocator)); log.info("gateway properties refreshed!"); } IDEA扫描出 及时清理不再使用的代码段或配置信息 eclipse 扫描没问题 mvn verify 扫描没问题(但在linux下 扫描出 及时清理不再使用的代码段或配置信息)
The text was updated successfully, but these errors were encountered:
还有 阿里规约扫描插件把resources目录下templates内容(controller.java.vm)也扫描了,提示下面错误 后台输送给页面的变量必须加感叹号,${var}——中间加感叹号!
最后,怎样设置只让它扫描java文件呢
Sorry, something went wrong.
插件 他们 好像没做exclude功能。 不过maven plugin他们倒是有做excluse功能。。。 感觉一套exclude方案的话还是比较有必要的 建议官方加上。
No branches or pull requests
Describe the bug
环境:window10 1909
JDK: 1.8.0_181 64位
插件 :2.0.1
扫描如下代码:
private void refreshZuulProperties(ConfigChangeEvent changeEvent) {
log.info("Refreshing gateway properties!");
this.publisher.publishEvent(new EnvironmentChangeEvent(changeEvent.changedKeys()));
//this.applicationContext.publishEvent(new RefreshScopeRefreshedEvent(routeLocator));
this.publisher.publishEvent(new RefreshRoutesEvent(routeLocator));
log.info("gateway properties refreshed!");
}
IDEA扫描出 及时清理不再使用的代码段或配置信息
eclipse 扫描没问题
mvn verify 扫描没问题(但在linux下 扫描出 及时清理不再使用的代码段或配置信息)
The text was updated successfully, but these errors were encountered: