gpt4 book ai didi

java - 这个java错误是什么意思?

转载 作者:行者123 更新时间:2023-12-01 16:41:50 25 4
gpt4 key购买 nike

我试图说服 Zucker Reports 显示 Jasper 报告,但收到 Java 错误,而且我不会说 Java 语言。我看到有一个文件未找到错误,但我无法弄清楚哪个文件未找到。我用 替换了长类路径。

error compiling report report2.jrxml - cmdline: javaw -classpath "<SNIP>" at.go_mobile.zuckerreports.JasperCompileMain D:\Program Files\sugarcrm-5.2.0e\php\tmp\php83.tmp modules/ZuckerReports/resources/report2.jasper 2>&1JasperBatchMain :: compiling jasper design D:\Program to Files\sugarcrm-5.2.0e\php\tmp\php83.tmpJasperBatchMain :: java.io.FileNotFoundException: D:\Program (The system cannot find the file specified)net.sf.jasperreports.engine.JRException: java.io.FileNotFoundException: D:\Program (The system cannot find the file specified)at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:172)at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152)at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:150)at at.go_mobile.zuckerreports.JasperCompileMain.main(JasperCompileMain.java:17)Caused by: java.io.FileNotFoundException: D:\Program (The system cannot find the file specified)at java.io.FileInputStream.open(Native Method)at java.io.FileInputStream.(Unknown Source)at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)

最佳答案

您的文件路径中有空格。将其用双引号引起来。

可能在 部分。尝试将文件放置在 Program Files 之外。

关于java - 这个java错误是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1100314/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com