Hi all,
i have a problem w
hen i use m2clipse create a appfuse-struts-basic archetype project.
i found the project doesn't have Java Builder on the project
properties.(right click project select properties options after select
builders tags).
there only JavaScript Validator,Faceted Project Validation Builder,AspectJ
Builder,Validation,Maven Project Builder.
does have anyway to add a Java Builder on the Project Builders with eclipse?

missing Java Builder even i want to run a simple HelloWorld.java that only
with a main method and output "hello world"

package yy.cc;
public class App {
    public static void main(String[] args) {
        System.out.println("nihao");
    }
}

i run it on eclipse will get me a lot of exception
java.lang.NoClassDefFoundError: yy/cc/App
Caused by: java.lang.ClassNotFoundException: yy.cc.App
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Exception in thread "main"

thanks in advance!
best regards!

Gordian

Reply via email to