Error: java.lang.NoClassDefFoundError: TreeProducer

35 views
Skip to first unread message

Imeron

unread,
Apr 6, 2009, 3:29:36 AM4/6/09
to Clone Digger general
I'm using version 1.1.7. Java clone digging results in this error:

Parsing .../xxxx.java ... Error: can't parse ".../xxxx.java"
: Traceback (most recent call last):
File "...\Eclipse\plugins\org.clonedigger_1.1.7\CloneDigger
\clonedigger-1.0.9_beta-py2.5.egg\clonedigger\clonedigger.py", line
128, in parse_file
source_file = supplier(file_name)
File "...\Eclipse\plugins\org.clonedigger_1.1.7\CloneDigger
\clonedigger-1.0.9_beta-py2.5.egg\clonedigger\java_antlr.py", line 56,
in __init__
raise s
java.lang.NoClassDefFoundError: TreeProducer
Caused by: java.lang.ClassNotFoundException: TreeProducer
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: TreeProducer. Program will exit.
Exception in thread "main"

Anybody can help with this?

Peter Bulychev

unread,
Apr 6, 2009, 3:53:29 PM4/6/09
to clonedigg...@googlegroups.com
Hello.

I've fixed the error (there was a problem in Windows target).

However we have some problems with updating Eclipse plugin. We'll try to fix it later.

So, if you want to run it now, please do it from the command line:
svn co https://clonedigger.svn.sourceforge.net/svnroot/clonedigger/trunk clonedigger
cd clonedigger/clonedigger
python ./clonedigger.py --lang=java <path to the source tree>

2009/4/6 Imeron <girlsl...@gmail.com>



--
Best regards,
  Peter Bulychev.
Reply all
Reply to author
Forward
0 new messages