Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8587097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:29:00+00:00 2026-06-11T22:29:00+00:00

What do I need to do to set up a working run configuration for

  • 0

What do I need to do to set up a working run configuration for a GWT project using Errai, in IntelliJ IDEA 11 Community Edition (which does not include the GWT plugin)?

I have found instructions for running a GWT project in IntelliJ Community Edition and instructions for working with GWT, CDI and Errai in Eclipse, but when I put these together the run configuration fails to load my app. What configuration is needed?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T22:29:01+00:00Added an answer on June 11, 2026 at 10:29 pm

    To get a GWT/Errai project running from IntelliJ 11 Community Edition, go through the following steps:

    Add GWT, Errai and your project source directory to the classpath

    • Go to File > Project Structure and under Project Settings, select Modules. Select the Dependencies tab.
    • You can click the yellow plus button and select ‘Jars or dependencies’ to add dependencies. In this way, add gwt-dev.jar and gwt-user.jar (from the GWT SDK) and a directory containing all your Errai jars (ie: errai-marshalling-(version).jar, errai-data-binding-(version).jar). Make sure the version of these jars matches your Maven (or other build tool) dependencies.
    • In the same way, add your project’s src directory. It may come up as ’empty library’ but don’t delete it. Open your project’s .iml file and find the lines referencing your /src and/or /src/main/java directories. If they are under the SOURCES element, move them to sit under CLASSES instead, so you have something like the following. Thanks goes to Stack Overflow user Vic for this hack, contributed to this post.

      <library>
        <CLASSES>
          <root url="file://$MODULE_DIR$/src" />
          <root url="file://$MODULE_DIR$/src/main/java" />
          <root url="file://$MODULE_DIR$/src/main/webapp/WEB-INF/classes" />
        </CLASSES>
        <JAVADOC />
        <SOURCES />
      </library>
      

    Create a run configuration

    • Create a new Application run configuration (Run > Edit Configurations > + > Application).
    • For the Main class, put ‘com.google.gwt.dev.DevMode’.
    • Select your project in the ‘Use classpath of module’ menu, if it’s not already selected.
    • Add Program arguments equivalent to the following, substituting your project’s parameters. For a description of all the valid arguments, run the configuration with none and check the output.

      -noserver -server org.jboss.errai.cdi.server.gwt.JettyLauncher -war /path/to/project/exploded/war/dir -logLevel INFO -startupUrl App.html project.module.App
      
    • Run the configuration and click Launch Default Browser in the GWT Development Mode window. Hopefully, your app will now load.

    Troubleshooting

    • If you get exceptions, make sure you check the output in the App tab in the GWT Development Mode window, as the output here is not necessarily reflected in the browser or IntelliJ’s log and can be key to diagnosing problems.
    • If you get the exception ‘java.lang.RuntimeException: Deferred binding failed for ‘org.jboss.errai.ioc.client.Bootstrapper’ (did you forget to inherit a required module?)’, check under the App tab. You’ve likely forgotten to inherit a GWT module; the output will reveal which one.
    • If you get marshalling errors, check that your ErraiApp.properties lists all serializable types, and that main and test copies of this file match.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a project using Maven for which I need two new
I am working in WPF and I need to set the Text and ToolTip
I am working with google map. According to requirements i need to set different
When working with powershell cmdlets, I often find that I need to set a
here is some code I've been working on, basically I need to set up
I need to set up a system which will allow developers to request an
I need to run a CRON at midnight which auto-assigns some periodic tasks for
I am working on this WebAPI project and I need to create unit tests
I'm currently working on a homework assignment where I need to set up a
I am working on a scraping project, somewhere in the application I need this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.