Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/31.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 使用IKVM将JAR文件转换为.DLL时出现警告_Java_Asp.net - Fatal编程技术网

Java 使用IKVM将JAR文件转换为.DLL时出现警告

Java 使用IKVM将JAR文件转换为.DLL时出现警告,java,asp.net,Java,Asp.net,我需要在我的asp.net应用程序中使用openForecast.jar,因为我在cmd中编写时到处阅读并找到了IKVM ikvmc openForecast.jar 然后我收到了这样的警告信息 D:\Bobby\Telkom Project\ikvm-0.44.0.5\bin>ikvmc OpenForecast-0.4.0.jar Note IKVMC0002: output file is "OpenForecast-0.4.0.dll" Warning IKVMC0100: cl

我需要在我的asp.net应用程序中使用openForecast.jar,因为我在cmd中编写时到处阅读并找到了IKVM

ikvmc openForecast.jar
然后我收到了这样的警告信息

D:\Bobby\Telkom Project\ikvm-0.44.0.5\bin>ikvmc OpenForecast-0.4.0.jar
Note IKVMC0002: output file is "OpenForecast-0.4.0.dll"
Warning IKVMC0100: class "org.jfree.data.time.TimeSeries" not found
Warning IKVMC0100: class "org.jfree.data.time.RegularTimePeriod" not found
Warning IKVMC0100: class "org.jfree.data.time.TimeSeriesDataItem" not found
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "net.sourceforge.op
enforecast.input.TimeSeriesBuilder.<init>(Lorg.jfree.data.time.TimeSeries;)V"
("org.jfree.data.time.TimeSeries")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "net.sourceforge.op
enforecast.input.TimeSeriesBuilder.<init>(Lorg.jfree.data.time.TimeSeries;Ljava.
lang.String;)V"
("org.jfree.data.time.TimeSeries")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "net.sourceforge.op
enforecast.input.TimeSeriesBuilder.build()Lnet.sourceforge.openforecast.DataSet;
"
("org.jfree.data.time.TimeSeries")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "net.sourceforge.op
enforecast.input.TimeSeriesBuilder.build(Lorg.jfree.data.time.TimeSeriesDataItem
;)Lnet.sourceforge.openforecast.DataPoint;"
("org.jfree.data.time.TimeSeriesDataItem")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "net.sourceforge.op
enforecast.output.TimeSeriesOutputter.output(Lnet.sourceforge.openforecast.DataP
oint;Ljava.lang.String;)V"
("org.jfree.data.time.TimeSeriesDataItem")
D:\Bobby\Telkom项目\ikvm-0.44.0.5\bin>ikvmc OpenForecast-0.4.0.jar
注IKVMC002:输出文件为“OpenForecast-0.4.0.dll”
警告IKVMC0100:找不到类“org.jfree.data.time.TimeSeries”
警告IKVMC0100:未找到类“org.jfree.data.time.RegularTimePeriod”
警告IKVMC0100:未找到类“org.jfree.data.time.TimeSeriesDataItem”
警告IKVMC0111:在“net.sourceforge.op”中发出java.lang.NoClassDefFoundError
EnforCast.input.TimeSeriesBuilder.(Lorg.jfree.data.time.TimeSeries;)V“
(“org.jfree.data.time.TimeSeries”)
警告IKVMC0111:在“net.sourceforge.op”中发出java.lang.NoClassDefFoundError
EnforCast.input.TimeSeriesBuilder。(Lorg.jfree.data.time.TimeSeries;Ljava。
字符串;)V“
(“org.jfree.data.time.TimeSeries”)
警告IKVMC0111:在“net.sourceforge.op”中发出java.lang.NoClassDefFoundError
enforecast.input.TimeSeriesBuilder.build()Lnet.sourceforge.openforecast.DataSet;
"
(“org.jfree.data.time.TimeSeries”)
警告IKVMC0111:在“net.sourceforge.op”中发出java.lang.NoClassDefFoundError
enforecast.input.TimeSeriesBuilder.build(Lorg.jfree.data.time.TimeSeriesDataItem
;)Lnet.sourceforge.openforecast.DataPoint
(“org.jfree.data.time.TimeSeriesDataItem”)
警告IKVMC0111:在“net.sourceforge.op”中发出java.lang.NoClassDefFoundError
enforecast.output.TimeSeriesOutput.output(Lnet.sourceforge.openforecast.DataP
oint;Ljava.lang.String;)V“
(“org.jfree.data.time.TimeSeriesDataItem”)
我还发现openForecast由大约6个类文件和3个子文件夹组成,每个子文件夹包含几个类文件。。
我需要帮助为什么会发生这种情况以及如何修复它(因为IKVM的文档本身仍然让我一无所获),谢谢你第一个提示:忽略警告并使用代码。Java JAR通常指的是除了您不关心的特定场景之外不使用的外部代码


另一种选择是找到org.jfree.data.time类应该来自何处,并获取该jar并将其链接(但您将冒着它也有一些悬而未决的依赖关系的风险)。

如何“链接它”?这些信息会很有帮助,因为我有一个jar,它在运行时调用丢失的类。-1用于忽略警告。我还没有见过一个Java开发人员不会“忽略警告”。警告的存在是有原因的。