GWT project, nocache.js not found
I have a GWT project that gives me the following error at run time.
The development shell servlet received a request for 'Homesite.nocache.js' in module 'homesite.Homesite'
Resource not found: Homesite.nocache.js
The window appears with the brackground image, but that is all.
I've tried recreating the project twice, but still get the same error.
Any ideas?
Please sign in to leave a comment.
Hello Rich,
Which version of IDEA does this happen with?
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
It is happening on both 6.05 and 7.0M1b.
Hello Rich,
Please try the latest Selena EAP. It contains quite a lot of GWT support
bugfixes.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Selina 7118 seems to make things worse. I can't find a way to add gwt-user to the project. It was listed as a global library, but I couldn't find any way to associate it with the current project.
So, I went back to 7.0M1b to add the library, and then came back up in 7118.
When attempting to execute I get the following:
Exception in thread "main" java.lang.ClassNotFoundException: com.google.gwt.dev.GWTShell
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:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:87)
All I did was attempt to execute the "empty" created project.
Any ideas?
Hello Rich,
Please check GWT facet settings (Project Structure -> Modules tree -> GWT
node). Is "path to GWT installation" field specifies correct path to GWT
installation?
Tha seems to have done it. I was modifying the project to try to make the paths shorter by reworking the package structure. Somewhere along the line I must have messed up some of the settings.
Thanks.