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 4014142
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:27:39+00:00 2026-05-20T09:27:39+00:00

Does anyone know any sane reason for such bundling decision? Google engineers act wisely

  • 0

Does anyone know any sane reason for such bundling decision? Google engineers act wisely in most cases, so this kinda surprized me.

This would cause collisions with other versions of servlet API pulled via Maven dependencies:

  • webapp classpath will likely contain
    version which is bundled with GWT;
  • container may refuse to load the GWT
    jar as it contains the javax.servlet
    package;
  • in most cases this will
    likely deviate classpaths across your
    IDE’s debugger and the really
    executing VM.

Link to the jar in question (just so you see the same thing after unzipping as I do, if you don’t believe that GWT contains servlet API classes in the same jar):
http://repo1.maven.org/maven2/com/google/gwt/gwt-user/1.7.0/gwt-user-1.7.0.jar

  • 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-05-20T09:27:40+00:00Added an answer on May 20, 2026 at 9:27 am

    You shouldn’t be including gwt-dev.jar or gwt-user.jar in your war file. You only need gwt-servlet.jar in your war, and that too only if you are using RPC. If you notice, gwt-servlet.jar (ironically) does not contain any of the servlet classes.

    • gwt-dev.jar contains the compilers and linkers. Your code will never need this to compile.
    • gwt-user.jar contains the gwt framework that ultimately gets translated to javascript. You only need this during development mode.
    • gwt-servlet.jar contains the server side code that is needed if you use RPC framework. This is the only jar that should be present in your war file.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know any good chart api for a web application in java? This
Does anyone know any jquery script examples to show a full page/content website that
Does anyone know any graph control library for .net compact framework ? Please provide
does anyone know any tool for 'code generation' using MVC2? I know that ASP
I would like to bin vectors in n-dimensional space. This can be done by
I want to track objects of simple shapes and rather homogeneous colors. I would
I have just converted my application from LINQ2SQL to NHibernate and I'm trying to
I'm trying to create a Views Style plugin for the Views module in Drupal.
I am looking for a good and stable threadpool library for C++ that's fairly
I have an application, it is creating an ICS similar to the following: BEGIN:VCALENDAR

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.