发新话题
打印

apache-tomcat-6.0.18 jor.war运行报错

apache-tomcat-6.0.18 jor.war运行报错

引用:
在tomcat    conf文件夹下 的server.xml修改 以下代码
<Connector port="8080" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8" useBodyEncodingForURI="true" />
在后面加上URIEncoding="UTF-8" useBodyEncodingForURI="true"
这个方法我试了依然不行,请解答,谢谢
附件: 您所在的用户组无法下载或查看附件

TOP

截图有点小气啊,unable to compile class f 什么啊?
请把右边多剪一点,要不不好判断啥问题.

TOP

免费内容:
could not load value for jatools.data.reader.sql.Connection.PasswordX
sql 出错.Table not found: 订单查询 in statement [select * from 订单查询]
谢谢回复,上边那个问题解决了,现在后台报这个错,对hsql不太了解数据库的connection信息存在哪里阿不知如何解决,谢谢

[ 本帖最后由 gyl868 于 2010-7-21 11:05 编辑 ]

TOP

是你的hsql 演示数据库数据,可能没有被解开。解决办法是,将设计器bin目录下的 demosdb,sampledata,两个目录,复制到你的 tomcat/bin下面,就可以了。

TOP

引用:
log4j:WARN No appenders could be found for logger (ZAccessorElement).
log4j:WARN Please initialize the log4j system properly.
could not load value for jatools.data.reader.sql.Connection.PasswordX
java.lang.ClassNotFoundException: jatools.component.GridText
谢谢admin,现在可以正确显示数据,可是后台还是报这三个错误
还想请问一下,如何将设计器设计的xml报表集成在struts2中,然后动态传递参数使报表显示相应的数据呢,最好能提供些例子,非常感谢。

[ 本帖最后由 gyl868 于 2010-7-21 15:58 编辑 ]

TOP

你可能在使用套打的示例,才会出现 java.lang.ClassNotFoundException: jatools.component.GridText这个错误,因为简表,不支持等间距文本。而等间距文本GridText,经常被用在需要等距显示金额(金额的每个阿拉伯数,显示在规定格子间,象支票、发票、财务帐本)的地方,且每个数被等距显示.

有些示例模板是直接从杰表.2008转过来的,所以由于简表不支持某些杰表的特性时,会显示错误,你可以忽略这种错误。因为只要你的报表是用简表设计器设计的,就可确保不会出现这种兼容错误。

TOP

关于struts2的集成:

你可以弄一个Action,然后,再传到 tools/reportviewer.jsp,类似这样:

<action name="report" class="jatools.user.JORAction" method="execute">
       <result name="success">tools/reportviewer.jsp</result>
</action>

TOP

发新话题