【问题标题】:Jasperreports-6.3.0 Webapp sample compile throws exceptionJasperreports-6.3.0 Webapp 示例编译抛出异常
【发布时间】:2017-04-04 18:57:43
【问题描述】:

我正在尝试测试 JasperReport Library 的 webapp 示例。 我将战争加载到eclipse,Tomcat v8.0 Server中。另外,我可以运行它,并查看索引页面。但要测试这个应用程序,第一步是编译 JRXML。

但是,我不能,因为会抛出一些异常:

  • JSP 示例:

scriptlets.WebappScriptlet cannot be resolved to a type

  • Servlet 示例:

javax.servlet.ServletException: Error instantiating servlet class servlets.CompileServlet java.lang.ClassNotFoundException: servlets.CompileServlet

你可以在src文件夹中看到这些类:

【问题讨论】:

标签: java jsp tomcat jasper-reports classnotfoundexception


【解决方案1】:

可能是 6.3.0 版本中的一个错误。

在 6.3.1 版本中解决。您可以从here下载。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-12-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多