将 BIRT 报告部署到 Tomcat 9.0 的问题

Issue deploying BIRT Report to Tomcat 9.0

我正在使用 BIRT 生成数据报告。使用内部 Eclipse 查看器时,它生成并显示正常。当我将它部署到我的本地主机 Tomcat 9.0 时,我在日志中收到以下错误。

我用来配置环境的示例报告也会发生这种情况,但 BIRT 查看器随附的 "test" 报告不会发生这种情况。

INFO [http-nio-8080-exec-4] org.apache.coyote.http11.Http11Processor.service
Error parsing HTTP request header
Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException**: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986  
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:456)  
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:380)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) 
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:796)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1372)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

我已经在调试模式下启动了 Tomcat,这就是日志的内容。

127.0.0.1 - - [30/Jul/2017:15:05:38 -0500] "GET / HTTP/1.1" 200 11458
127.0.0.1 - - [30/Jul/2017:15:05:50 -0500] "GET /manager/html HTTP/1.1" 401 2536
127.0.0.1 - admin [30/Jul/2017:15:05:54 -0500] "GET /manager/html HTTP/1.1" 200 19627
127.0.0.1 - - [30/Jul/2017:15:05:54 -0500] "GET /manager/images/tomcat.gif HTTP/1.1" 200 2066
127.0.0.1 - - [30/Jul/2017:15:05:54 -0500] "GET /manager/images/asf-logo.svg HTTP/1.1" 200 19908
127.0.0.1 - - [30/Jul/2017:15:05:59 -0500] "GET null null" 400 -
127.0.0.1 - - [30/Jul/2017:15:06:37 -0500] "GET null null" 400 -
127.0.0.1 - - [30/Jul/2017:15:11:10 -0500] "GET / HTTP/1.1" 200 11458
127.0.0.1 - - [30/Jul/2017:15:11:46 -0500] "GET null null" 400 -
127.0.0.1 - - [30/Jul/2017:15:14:08 -0500] "GET / HTTP/1.1" 200 11458
127.0.0.1 - - [30/Jul/2017:15:14:28 -0500] "GET null null" 400 -
127.0.0.1 - - [30/Jul/2017:15:14:45 -0500] "GET null null" 400 -
127.0.0.1 - - [30/Jul/2017:15:14:48 -0500] "GET null null" 400 -
127.0.0.1 - - [30/Jul/2017:15:14:49 -0500] "GET null null" 400 -

我正在尝试找到一种上传代码示例的方法,而不会使这种方式太长。现在,这里有一个 link 到 XML 可以吗?

https://www.eclipse.org/birt/phoenix/examples/solution/SalesInvoice.rptdesign

已解决。放置报告的说明是错误的。他们需要进入 BIRT 查看器的主文件夹,而不是按照说明所说的 \Report 文件夹。