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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:27:01+00:00 2026-05-20T00:27:01+00:00

My application contains 3rd party jar (com.springsource.org.aspectj.weaver-1.6.8.RELEASE.jar) that is compiled in Java6. I managed

  • 0

My application contains 3rd party jar (com.springsource.org.aspectj.weaver-1.6.8.RELEASE.jar)
that is compiled in Java6. I managed to use it on Tomcat 5.5 that runs Java5 but when I tried to deploy the same application on JBoss 5.1 – I get the error:

[org.jboss.detailed.classloader.ClassLoaderManager]
(main) Unexpected error during load
of:testdata.SomeAnnotation
java.lang.UnsupportedClassVersionError:
Bad version number in .class file

that I realized that happens not only to me. as described here.

my questions:
1) why is it possible to use this jar in web-servers such as tomcat but it still bothers Jboss 5.1 ?
2) Why does Jboss class loader load the application’s implementaiotn of Jweaver to be used for loading it framework and it doesn’t use Jboss aspectJ implementation. Perhaps I should configure its class loading to be parent-first and it will solve this problem?

  • 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-20T00:27:01+00:00Added an answer on May 20, 2026 at 12:27 am

    Java is backwardly compatible, (a Java 5.0 jar can run on Java 6) but not forwardly compatible (A Java 6 jar cannot be used on Java 5.0)

    You need to get a copy of the 3rd party Jar which is compiled for Java 5.0 or upgrade the version of Java to version 6 or later.

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

Sidebar

Related Questions

I have a 3rd party DLL that I need to use in my application.
I have an application that contains many controls on a panel, each with its
I have an application that contains a VC++ project (along with C# projects). Previously,
I have a .NET application that contains a checkbox (System.Windows.Forms.Checkbox). This component (WindowsForms10.BUTTON.app.0.378734a1) is
I'm making an application that contains button's and those buttons control an embedded browser.
I'm building an application that contains a bunch of projects that are at various
I have a Win32 C++ Application using a handful of third-Party DLLs that is
I am trying to scan memory of a 3rd party application. I have already
Our application contains UIWebview which displays a HTML page that uses touch events for
Use case: 3rd party application wants to programatically monitor a text file being generated

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.