Note that there are some explanatory texts on larger screens.

plurals
  1. POEclipse not building WEB-INF/classes for GWT
    primarykey
    data
    text
    <p>I've been using <strong>GWT</strong> together with <strong>Maven</strong>, but whatever I try to do, Eclipse does not want to compile the source code to the usual <strong><em>webapp/WEB-INF/classes</em></strong> folder automatically. I tried reproducing the problem using the <em>gwtp-sample-basic</em> sample from GWT-Platform; which can be found here: <a href="http://code.google.com/p/gwt-platform/downloads/detail?name=gwtp-samples-0.6.zip&amp;can=2&amp;q=" rel="nofollow">gwtp-samples-0.6.zip</a></p> <p>Deploying and running the project via Jetty without the classes results in the following expected errors:</p> <pre><code>[WARN] Could not instantiate listener example.project.server.MyGuiceServletContextListener java.lang.ClassNotFoundException: example.project.server.MyGuiceServletContextListener ... [WARN] EXCEPTION java.lang.ClassNotFoundException: com.google.inject.servlet.GuiceFilter ... [WARN] failed guiceFilter: javax.servlet.UnavailableException: com.google.inject.servlet.GuiceFilter ... [WARN] Failed startup of context com.google.apphosting.utils.jetty.DevAppEngineWebAppContext@aec7ab1{/,/home/user/Documents/Workspace/project/src/main/webapp} javax.servlet.UnavailableException: com.google.inject.servlet.GuiceFilter ... </code></pre> <p>Using Ant, the classes get built to the correct folder <em>webapp/WEB-INF/classes</em> but it fails to do so with any Maven configuration I've tried to far.</p> <ul> <li>Could this be something Maven specific?</li> <li>Anything I might have forgotten to configure in Eclipse?</li> <li>Anyone that had similar problems, plus found how to fix them?</li> </ul> <p><em>Sidenotes: Using the default Sonatype Maven plugin for Eclipse. Also tried using the webAppCreator tool to reinitialize a Maven project but it didn't change the outcome. Using the default run configurations provided. The webapp/WEB-INF/lib automatically contains the required libraries.</em></p>
    singulars
    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.
    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