Note that there are some explanatory texts on larger screens.

plurals
  1. POProblem with running Maven GWT application in Eclipse
    primarykey
    data
    text
    <p>I'm trying to create a GWT project through WebAppCreator enabled Maven2.</p> <p><strong>Project creation steps:</strong></p> <ol> <li>Create project with WebAppCreator (i'm using gwt-2.3.0) <blockquote> <p>webAppCreator -noant -maven -XnoEclipse -out MyApp com.example.MyApp</li> <li>Import project as existing maven project in eclipse (helios)</li> <li>Enable "Project" -> "Properties" -> "Google" -> "Google web toolkit" -> "Use google web toolkit" checkbox</li> <li>Set in project properties "Google" -> "Web application" -> "This project has a WAR directory". Set WAR directory path "src/main/webapp" and uncheck "launch and deploy from this directory"</li> <li>Java build path is "MyApp/target/www/WEB-INF/classes"</li> <li>I did not change the settings in pom.xml</li> <li>Compile project using gwt eclipse plugin (2.3.0 version). It successfully compiled.</li> <li>Try to run project as Web Application. When i run application GWT plugin does not ask me about WAR folder. I did all this, I saw in the logs:</li> </ol> <p>[WARN] Server class 'com.example.server.GreetingServiceImpl' could not be found in the web app, but was found on the system classpath</p> </blockquote></p> <p>[WARN] Adding classpath entry 'file:/home/redfox/workspace/java/redfox/MyApp/target/www/WEB-INF/classes/' to the web app classpath for this session</p> <p>[WARN] Server class 'com.google.gwt.user.client.rpc.RemoteService' could not be found in the web app, but was found on the system classpath</p> <p>[WARN] Adding classpath entry 'file:/home/redfox/.m2/repository/com/google/gwt/gwt-servlet/2.3.0/gwt-servlet-2.3.0.jar' to the web app classpath for this session</p> <p>And when i try to load page from URL (http://127.0.0.1:8888/MyApp.html?gwt.codesvr=127.0.0.1:9997) i see 404 error. In logs i don't see any errors. How can i run this default application? Also i have another question: if this problev will be solved, how can i run this application in web mode (not in development mode) for using links like "http://127.0.0.1:8888" whithout param gwt.codesvr?</p> <p>P.S. Sorry for my bad English.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload