【发布时间】:2018-01-29 03:51:03
【问题描述】:
我发现了一个非常出色的工具(即been abandoned),名为JStylo,还有一个名为 Anonymouth 的姊妹工具。他们的目标是测试作者身份并匿名化作品的作者身份。
当我使用 Maven (mvn package) 构建项目时,它似乎在构建(有一些错误似乎并没有停止构建过程),但是当我通过 java -Xmx2048m -jar jstylo-2.9.0.jar 执行它时
我明白了:
no main manifest attribute, in jstylo-2.9.0.jar
当我执行 jstylo-2.9.0-jar-with-dependencies.jar 包时,我得到:
ERROR GUIMain - Look-and-Feel error!
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/jgaap/generics/LanguageParsingException
at edu.drexel.psal.jstylo.GUI.GUIMain.initData(GUIMain.java:266)
at edu.drexel.psal.jstylo.GUI.GUIMain.<init>(GUIMain.java:259)
at edu.drexel.psal.jstylo.GUI.GUIMain$1.run(GUIMain.java:249)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ClassNotFoundException: com.jgaap.generics.LanguageParsingException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 17 more
对这里可能发生的事情或如何深入研究并进一步解决此问题有任何想法吗?
【问题讨论】:
-
来自project page:
NOTE: JStylo depends on JGAAP, which is not hosted on the maven central repository. Additionally, due to github's policy on large files, it cannot be included with the project.看起来你可能需要安装JGAAP
标签: java maven linguistics