songtao zhang

Greenhorn
+ Follow
since Jan 24, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by songtao zhang

According to my understanding, to implement refactoring should be parsed the source code into related AST and Symbol table. from such AST and Symbol table we should learn the reference between class and class, class and method, class and variable and so on, for example which class have called which method, and which variable have been used in which method, but how can a AST or Symbol table to show all of such relationship for a large project?
Could anybody tell me something about what such a AST and Symbol table look like?
thanks
hello everyone
I found that Eclipse provides a powerful set of automated refactorings, are there anybody knowing that how can I find the source code for Eclipse's refactoring tools? is it a open source code? thanks.
Thank you very very much, you are so cool! I solved the problem according to your message, It have confused me for two days.
songtao
21 years ago
Thanks Lasse Koskela
I try to set the classpath to my root h: by
..>set CLASSPATH=h:\ and the runtime classpath by ..>set CLASSPATH= h:\net\sourceforge \transmogrify\symtab; but the error still here. did I do something wrong? and the Main class was on the package net.sourceforge . transmogrify.symtab , do this make any difference for classpath setting?;
Hello, I had downloaded the souce code for the Transmogrify and try to run the Main class in my computer. it have been compiled but when I try to run it, the computer show me following error. Could anybody please help me to solve this problem?
Exception in thread "main" java.lang.NoClassDefFoundError: Main (wrong name:
/sourceforge/transmogrify/symtab/Main)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.jav
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
Hello, my program have been compiled but when I try to run it, the computer show me following error. Could anybody please help me to solve this problem?
Exception in thread "main" java.lang.NoClassDefFoundError: Main (wrong name:
/sourceforge/transmogrify/symtab/Main)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.jav
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
21 years ago