views:

51

answers:

0

I have a finished project of which i used GWT for, and I would like to change some of the ui to use the gwtext framework. One would think this is simple or maybe I am just the simple one. I cannot even successfully make a gwtext hello world application nevermind upgrade some of the widgets in my existing project.

Both situation have different problems let me start with the hello world gwtext situation:

I used the cypal plugin for eclipse since what i had been reading is the best plugin for gwtext development. I followed a tutorial and when I went to run the hello world test app I got the following error:

java.lang.NoClassDefFoundError: com/google/gwt/dev/GWTCompiler
Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.GWTCompiler
    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)
Exception in thread "main"

I have no idea why because that belongs in the gwt jar file which I have included in the build path library. So why cant it be found? I have no idea where to go from there.

Now the other situation with the already finished project where I want to add gwtext to it in order to change some widgets.

What I did:

  • imported the gwtext jar
  • made a file js/ext and put all the essential ext libraries in there
  • then in the gwt.xml file im imported the following files:

When run i got warnings saying that it could not find these three files. One possible thing here is that i put the js/ext file under the project and not under the package, because eclipse wouldnt let me put a file under a package without making it a subpackage. This shouldnt matter.

So theres the whole situation...please if anyone can advise me it would be verrrry appreciated because I am out of ideas and curious why something so easy to USE is so hard to start...haha...