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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:01:21+00:00 2026-06-17T17:01:21+00:00

I created a basic Java project in Eclipse then added a Web Service Client

  • 0

I created a basic Java project in Eclipse then added a Web Service Client using the File->New “Web Service Client” wizard.

This generated my stubs correctly and I am able to connect to the web service, however, I get the following error/warning when I run:

WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.

I then tried to create the client using a Dynamic Web Project (instead of a basic Java project) and the error went away.

This is obviously due to the fact that the Dynamic Web Project includes libraries that are not included in a basic Java project.

My question is, why do I need to make a Dynamic Web Project (it seems like overkill) just to make a web service client? Is there some simpler project type you would recommend using?

Thank you.

  • 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-17T17:01:22+00:00Added an answer on June 17, 2026 at 5:01 pm

    Since it is just a warning, you could leave it as is. To make it go away, you could look up the jars that contain those classes and add them to your project.

    I think we normally use a JavaEE project type, and that may bring in some extra library files. I wouldn’t normally think you need a dynamic web project to make the error go away.

    The only difference in the project type is the Libraries included automatically for you when you start them. You can start any project as a Java project and then in the Project Properties, Build Path, Libraries tab add additional libraries to the project.

    Both of the missing classes above are in the j2ee.jar file, so if you can add that jar to your build path of the project it should go away.

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

Sidebar

Related Questions

I have created a new project using the Create New Project Wizard, by choosing
I need to create a prn file using java. Did a basic googling to
I've created this basic 3D Demo using OpenGL/SDL. I handled the keyboard callback so
I'm trying to build a new web app using Eclipse, I want to use
So I got this java file which loads a .lua file. Pretty basic and
I am working on using Eclipse as a basic file editor, without all the
I have a Rails 3.2.2 application using Ruby version 1.9.2. I have created basic
I created a basic calculator service called MiniCalc that only has two operations. Add
I have created a basic site using ASP.NET routing according to Mike Ormond's example
I am newbie to Sencha Touch 2 and have created a basic applications using

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.