我发现了一个非常惊人的工具(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
有关此处可能发生的事情或如何深入挖掘并排除故障的任何想法?
答案 0 :(得分:3)
我知道这是一个老问题,但是我自己才发现JStylo。构建后,从基本目录中键入:
java -cp lib\jgaap-5.2.0-lite.jar;target\jstylo-2.9.0-jar-with-dependencies.jar edu.drexel.psal.jstylo.GUI.GUIMain