Solution: Project Structure -> Facet Settings -> GWT -> GWT (Hello) ->
Target Web Facet: <your war>

On Nov 6, 6:36 am, notcourage <klr...@gmail.com> wrote:
> I'm trying to get samples/Hello to run inintellij9.0.3. When I run
> gwt dev mode withinintellij, chrome reports Hello.html isn't found.
>
> I set the project structure to generate out/artifacts/
> Hello_web_exploded. I believe Hello.html isn't found due to this
> command line fragment (entire line follows):
>
> com.google.gwt.dev.DevMode -war C:\Users\user\.IntelliJIdea90\system
> \gwt\Hello.Helloa864f2c3\Hello.9eda34b3\run\www -gen C:\Users\user
> \.IntelliJIdea90\system\gwt\Hello.Helloa864f2c3\Hello.9eda34b3\run\gen
> -startupUrl Hello.html ...
>
> Notice the strange paths for -war & -gen. What is -gen?
>
> C:\swe\Sun\SDK\jdk\bin\java -Xmx256m -Didea.launcher.port=7532 "-
> Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJIDEA
> 9.0.3\bin" -Dfile.encoding=windows-1252 -classpath "C:\swe\java
> \gwt-2.1.0\gwt-dev.jar;C:\swe\intellij_workspace\Hello\src;C:\swe\Sun
> \SDK\jdk\jre\lib\alt-rt.jar;C:\swe\Sun\SDK\jdk\jre\lib\charsets.jar;C:
> \swe\Sun\SDK\jdk\jre\lib\deploy.jar;C:\swe\Sun\SDK\jdk\jre\lib
> \javaws.jar;C:\swe\Sun\SDK\jdk\jre\lib\jce.jar;C:\swe\Sun\SDK\jdk\jre
> \lib\jsse.jar;C:\swe\Sun\SDK\jdk\jre\lib\management-agent.jar;C:\swe
> \Sun\SDK\jdk\jre\lib\plugin.jar;C:\swe\Sun\SDK\jdk\jre\lib
> \resources.jar;C:\swe\Sun\SDK\jdk\jre\lib\rt.jar;C:\swe\Sun\SDK\jdk\jre
> \lib\ext\dnsns.jar;C:\swe\Sun\SDK\jdk\jre\lib\ext\localedata.jar;C:\swe
> \Sun\SDK\jdk\jre\lib\ext\sunjce_provider.jar;C:\swe\Sun\SDK\jdk\jre\lib
> \ext\sunmscapi.jar;C:\swe\Sun\SDK\jdk\jre\lib\ext\sunpkcs11.jar;C:\swe
> \intellij_workspace\Hello\out\production\Hello;C:\swe\java
> \gwt-2.1.0\gwt-user.jar;C:\Program Files (x86)\JetBrains\IntelliJIDEA
> 9.0.3\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain
> com.google.gwt.dev.DevMode -war C:\Users\user\.IntelliJIdea90\system
> \gwt\Hello.Helloa864f2c3\Hello.9eda34b3\run\www -gen C:\Users\user
> \.IntelliJIdea90\system\gwt\Hello.Helloa864f2c3\Hello.9eda34b3\run\gen
> -startupUrl Hello.html com.google.gwt.sample.hello.Hello

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to