我有一个奇怪的问题,它可以防止我的Grail 3.3.9应用在部署到tomcat 8后启动。
直到最近,我们还有自己的JasperService副本。我们已经删除了此功能,现在正在使用jasper插件。las,现在我们得到了一个例外(FF为我们的应用)
org.grails.taglib.TagLibraryLookup.registerTagLib(TagLibraryLookup.java:113)
...
org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'ff.documents.JasperService' to required type 'grails.plugins.jasper.JasperService' for property 'jasperService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'de.berlinale.ff.documents.JasperService' to required type 'grails.plugins.jasper.JasperService' for property 'jasperService': no matching editors or conversion strategy found
由于我们没有taglib注入jasperService,所以我认为仍然有一个记忆/参考旧服务的内存,实际上试图将其注入插件的jaspertaglib,我无法编辑:<:
class JasperTagLib {
JasperService jasperService
...
}
我正在使用Intellij Ultimate 2018.3,而问题不是在本地发生的,而是在部署时作为对Tomcat的战争。我已经在路径和范围中搜索了字符串,但没有找到任何东西。
如果有人可以暗示我要寻找这个幻影的方向。
我们发现这可能是一个git问题。我们对主人进行了分支,并在没有任何更改的情况下进行了部署,并且没有任何可能性,因此我们认为这实际上是我们主分支机构的损坏的git回购。我猜@Injecteer是正确的,它必须包含一个参考。
我会给我的问题一个git标签。谢谢@Injecteer