插件Jasper repot Jsf空指针

时间:2015-04-17 15:47:39

标签: jsf-2 primefaces jasper-reports

我有一个jsf项目,我想整合插件jsf jasperreport:plugin jr-jsf, 编译进展顺利但是当我部署应用程序时,我收到以下错误。如果有人可以帮我找到并纠正错误。 提前谢谢

GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) net.sf.jasperreports.jsf.config.ConfigurationStartupListener
java.lang.NullPointerException
at net.sf.jasperreports.jsf.config.XmlHelper.getText(XmlHelper.java:168)
at net.sf.jasperreports.jsf.config.XmlHelper.getChildText(XmlHelper.java:158)
at net.sf.jasperreports.jsf.config.Configuration.loadMappings(Configuration.java:179)
at net.sf.jasperreports.jsf.config.Configuration.loadMappings(Configuration.java:163)
at net.sf.jasperreports.jsf.config.Configuration.<init>(Configuration.java:114)
at net.sf.jasperreports.jsf.config.ConfigurationStartupListener.contextInitialized(ConfigurationStartupListener.java:60)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1462)

0 个答案:

没有答案