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

  • Home
  • SEARCH
  • 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 4072988
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T16:57:20+00:00 2026-05-20T16:57:20+00:00

Installed Tomcat 6 Installed Eclipse + GWT plugin Created GWT project with sample generated

  • 0
  1. Installed Tomcat 6
  2. Installed Eclipse + GWT plugin
  3. Created GWT project with sample
    generated code
  4. Compliled GWT project (GWT compile)
  5. Copied war (compiled) directory from
    eclipse’s workspace to TOMCAT
    webapps/ROOT folder
  6. Run localhost:8080 at my browser

The sample.html page from the GWT project displays correct but when i try to make a server call an error occurs.

  • No problem with jetty
    (Eclipse GWT develpment mode) – rpc
    work’s fine
  • PROBLEM at TOMCAT.

The catalina.out log at TOMCAT says:

Error deploying web application
directory ROOT
java.lang.UnsupportedClassVersionError:
Bad version number in .class file
(unable to load class
com.tomcat.server.GreetingServiceImpl)

I guess there might be a problem at WEB_INF/web.xml at servlet definition, here’s my web.xml

<web-app xmlns="http://java.sun.com/xml/ns/javaee"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
   version="2.5">

  <display-name>Welcome to Tomcat</display-name>
  <description>
     Welcome to Tomcat
  </description>

  <!-- Servlets -->
  <servlet>
    <servlet-name>greetServlet</servlet-name>
    <servlet-class>com.tomcat.server.GreetingServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>greetServlet</servlet-name>
    <url-pattern>/tomcat/greet</url-pattern>
  </servlet-mapping>

  <!-- Default page to serve -->
  <welcome-file-list>
    <welcome-file>Tomcat.html</welcome-file>
  </welcome-file-list>

</web-app>
  • 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-20T16:57:20+00:00Added an answer on May 20, 2026 at 4:57 pm

    I had this same issue when I deployed to my Godaddy hosting server. It worked fine on my local machine but not when I deployed. I got the same exact error message. The problem is you compiled your code with a version of java that is newer then that of which Tomcat is using.

    Install jdk1.5.0_22 (Or whatever your tomcat server is using)
    Probably need to restart your machine
    Eclipse->Window->Preferences->Java->Installed JRES->Add
    Standard VM->Next
    Browse to the directory of your jdk
    Finish
    Clean the project
    Compile the project
    Redeploy and cross your fingers!
    

    This worked for me, if it doesn’t for you then….ya…it should work. Good luck

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Whenever i compile my widgetset using the eclipse compilation tool (plugin) and maven install.
I just installed Java EE plugin in plain eclipse and I am trying to
I am having trouble creating a Axis, Tomcat ( apache-tomcat-7.0.27 ), Eclipse project. note:
I try to compile a webtools project for Java5/Tomcat 5.5 in ubuntu (with manually
Using Eclipse Helios, I tried to start a JSF based project. After having created
I've got m2eclipse plugin installed and there's no problem syncing compile time dependencies that
I have a eclipse web project source code, the name of the project is
I'm developing on a Ubuntu 8.04 machine using Eclipse Ganymede. I installed Tomcat 5.5
i have eclipse installed with tomcat 7. whenever i run my webapp, tomcat deletes
I installed eclipse with tomcat 7. I start tomcat from eclipse and it works

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.