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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:22:33+00:00 2026-06-04T06:22:33+00:00

I have a Java Google App Engine project which references a class in another

  • 0

I have a Java Google App Engine project which references a class in another project and at runtime, I’m getting NoClassDefFoundError.

I’ll call my Google App Engine project ‘Main‘ and the project it depends on ‘Sub‘

It looks like the reason for the runtime error is that a jar for Sub cannot be found in WEB-INF/lib. In eclipse, when I export Sub as a jar, and copy it into the WEB-INF/lib folder, everything works fine. Do I need to do this every time I change a file in Sub now?

Coming from a Visual Studio world, I’m used to projects being build into dlls, and those being copied into the ‘bin’ folders that depend on them. I thought eclipse would support something similar, but I’m not seeing it. What’s the correct way of fixing this? Ant script?

  • 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-04T06:22:34+00:00Added an answer on June 4, 2026 at 6:22 am

    Yes – when you see .dll in .NET, think JAR in Java EE.

    If a dependent JAR changes, you have to update the contents of WEB-INF/lib of your web app.

    I’m not sure how Eclipse handles dependencies. In IntelliJ, I could create a dependency between two separate modules if I wished or treat the dependent JAR in exactly the way I described above.

    I think the best thing to do is to use an Ant script, especially if you’ve already got one to create your WAR file.

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

Sidebar

Related Questions

I have created a google-app-engine java project in Eclipse using Google's Eclipse plugin. My
I have written a webservice in java based on Google App Engine, which stores
I'm trying to automate the upload of a google app engine (java) project, there's
I am starting out with Google's App Engine in Java. I have seen the
I am working on a java project on Google app engine and when I
I have written a relatively simple Java App Engine application which I would like
Is there a way I can have a Maven compatible Google App Engine (Java)
I have 2 project: 1) Client - Android 2) Server - Google App Engine
I currently have a Java application running on Google App Engine, but I want
I currently have a Java application running on Google App Engine, but I want

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.