团队,
我正在使用 IKVM 将 jar 文件转换为 dll,这样我就可以将它与 C# 一起使用来测试 Java 应用程序......我没有原始的 java 源代码或类文件。这是我正在做的事情以及我得到的错误:
ikvmc myApplication.jar
Note IKVMC0002: output file is "asapi.dll"
Warning IKVMC0100: class "org.apache.log4j.Logger" not found
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "com.myApp.authenticateUser(LNote IKVMC0002: output file is "asapi.dll"
Warning IKVMC0100: class "org.apache.log4j.Logger" not found
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in
vices.AsApi.authenticateWithArtifact(Ljava.lang.String;Lcom.myApp.AppApi)....
有任何想法吗?此 jar 文件不包含 main 方法...
问候, Deekshit