Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
- XXX cannot be cast to com.fr.plugin.basic.Closeable:插件引擎会修改plugin.xml中描述的类,为其添加Closeable接口辅助热部署。出现这个是由于未能成功的添加接口。可能的原因有两个:
- 引擎默认值处理com.fr.plugin(9.0插件)或com.fr(8.0插件)包下的类,如果plugin.xml中的类不在这个包下,则需要指定<main-package>标签
- 这个类被上层类加载器加载了,比如有遗留的class或jar包还在报表的classpath下,由于双亲委派机制,会优先从报表中加载,导致插件引擎无法处理这个类。