我在生成JBoss Windup報告方面經歷了一些演示。在每個演示中他們都使用了EAR文件。是否有可能爲.java
文件生成Windup報告?我已經嘗試過,並且出現以下錯誤。爲.java文件生成Windup報告(JBoss Migration)
INFO [ClassPathXmlApplicationContext] Refreshing org[email protected]80fc33b: startup date [Wed Dec 03 08:46:08 CET 2014]; root of context hierarchy
INFO [CustomerPackageResolver] Found Package: com.acme
INFO [ClassPathXmlApplicationContext] Refreshing org[email protected]81bc954: startup date [Wed Dec 03 08:46:12 CET 2014]; root of context hierarchy
INFO [CustomerPackageResolver] Found Package: com.acme
INFO [WindupReportEngine] Creating output path: /tmp/src/main/dk/tdc/ossj/inventory/client/StandaloneClient-java-doc
INFO [WindupReportEngine] - To overwrite this in the future, use the -output parameter.
INFO [ZipInterrogationEngine] Processing: StandaloneClient.java
ERROR [ZipInterrogationEngine] Error unzipping file.
java.util.zip.ZipException: Could not find End Of Central Directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:118)
at java.util.zip.ZipFile.<init>(ZipFile.java:154)
at org.jboss.windup.interrogator.ZipInterrogationEngine.process(ZipInterrogationEngine.java:81)
at org.jboss.windup.WindupMetaEngine.processArchive(WindupMetaEngine.java:297)
at org.jboss.windup.WindupMetaEngine.getArchiveMeta(WindupMetaEngine.java:160)
at org.jboss.windup.WindupReportEngine.generateReport(WindupReportEngine.java:121)
at org.jboss.windup.WindupMain.processInput(WindupMain.java:144)
at org.jboss.windup.WindupMain.main(WindupMain.java:71)
Exception in thread "Main Thread" java.lang.NullPointerException
at org.jboss.windup.reporting.ReportEngine.process(ReportEngine.java:33)
at org.jboss.windup.WindupReportEngine.generateReport(WindupReportEngine.java:128)
at org.jboss.windup.WindupMain.processInput(WindupMain.java:144)
at org.jboss.windup.WindupMain.main(WindupMain.java:71)