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

The Archive Base Latest Questions

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

I am trying to build and deploy a project to the JBoss deploy folder

  • 0

I am trying to build and deploy a project to the JBoss deploy folder with the bundeled Maven-Ant script from Eclipse but it always ends up with JBoss logging the following:

nested throwable: (java.lang.UnsupportedClassVersionError: Bad version number in .class file)

The used software for this project is following:

  • Ant 1.6.5
  • Maven-Ant Tasks plugin 2.1.3
  • JBoss 4.0.5 GA
  • JDK 1.4

In Eclipse under Window>Preferences I added the JDK to the Java>Installed JREs list and set it to default too just in case. Under Project>Properties>Java Compiler I have set the compliance level to 1.4 and have also played with the other compliance setting without any success.

Also, JBoss is set to use the exact same JDK which is 1.4_03 from the Oracle website. Odd is that Eclipse tends to identify it as version 1.5. For example on the Java Compiler page it says:

When selectiong 1.4 compliance, make sure to have a compatible JRE installed and activated (currently 1.5).

Can anybody give some advice where could I have gone wrong?

Thanks in advance!

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

    The JDK I used turned out to be the wrong version. I got in touch with one of the previous developers and he said it definitely should work with JDK 1.5 update 9 and that made all the difference. I got past that ambiguous error message. Sorry for the mess, guys!

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

Sidebar

Related Questions

I am trying to build our web project from the commandline but skipping the
I am trying to build and deploy an SSRS project (rptproj) but MSBuild does
I'm getting an error when trying to build a flex4 project with Ant. This
I am trying to build and deploy a .NET 4 project using MSBuild Web
I'm trying to deploy my simple Qt project like a hello world. I build
I have a problem when trying to deploy my project in JBoss. The generated
Im using Eclipse 3.4, EclipseMe 1.7.9. Im trying to deploy/create package a simple project
I'm trying to reload web application from ant. but I got error not found:
I am trying to deploy my powerbuilder project to EAServer with orca api. But
I am trying to deploy a war to a remote tomcat server from maven,

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.