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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T07:09:01+00:00 2026-05-15T07:09:01+00:00

I was unfortunately forced to result to uploading a WAR file as my backup

  • 0

I was unfortunately forced to result to uploading a WAR file as my backup for a web application I am working on.

Luckily I have the most recent WAR file available. I am using Eclipse IDE and am using the Web Tools plugin for all the J2EE work that I am doing with the Dynamic Web Application Project.

When I imported my WAR file, and ran it on a local server, everything works fine. The problem I a ran into is that in the Java Resources/src folder that all my packages and .java files were now only consists of all the same packages, but they are empty.

I checked to see if I could find the files and I found the .class files in an “Imported files” folder that is not accessible in the Eclipse Project Explorer. I believe that I need to do some type of build or something so that my .java files are available for me, but unfortunately this is one area where I lack.

One thing I would also like to know is, one way or the other, am I able to obtain the .java source code files if I have access to the .class files?

Also, I would like to configure this environment as it was before where my Java Resources:src folder contaiend the packages and .java files.

  • 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-15T07:09:01+00:00Added an answer on May 15, 2026 at 7:09 am

    One thing I would also like to know is, one way or the other, am I able to obtain the .java source code files if I have access to the .class files?

    The short answer is No. There is no way to regenerate original source files from bytecode files.

    If you were really, really desperate you could try to use a Java bytecode decompiler on your bytecode files, but the result will be be nothing like your original source code.

    • All comments and javadocs will be gone.
    • All original code layout will be gone.
    • Original local variable and parameter names may be gone, depending on your original compiler switches.
    • Constant expressions may have been pre-evaluated, and loops, string concatenations and other constructs may have been transformed unrecognizably.
    • Depending on the maturity of the decompiler, the Java code might not be semantically equivalent to the original code, and might not even be compilable.

    I hope you haven’t spent too long developing this application because the best answer may be to start again.

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

Sidebar

Related Questions

Unfortunately, I have to deal with J2ME (which I consider ancient technology these days)
Unfortunately, I have to use a C library with internal state in my Android
Unfortunately I have a pretty bad understanding of how to properly set up threading.
Unfortunately their Wiki is down for maintenance and the web is not being helpful.
Unfortunately I've a problem with IE =( I have a service on IIS that
Unfortunately, I have plaintext passwords in a database. I want to pass these plaintext
I have an ambitious requirement for an asp.net 2.0 web page that contains a
Setting: Java 5 - no upgrade possible. I have a large application that has
Unfortunately I'am currently forced to use concrete URI in my functional test (get('/articles/index') in
I have the great joy of being forced to import data from an old

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.