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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T23:56:14+00:00 2026-06-08T23:56:14+00:00

We have deployed our web application deployed on oracle applications server 10 and we

  • 0

We have deployed our web application deployed on oracle applications server 10 and
we encounter this error when running the application.

 Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category

 Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@12badee for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)

We have log4j bundled inside our webapp WEBINF/lib and we have a shared lib for log4j in our application server lib as well. Since this shared lib is shared by many applications we can’t remove it.

I understand that there is some class conflict in between these 2 log4j libs. Is there anyway that we can exclude this shared lib and work with the bundled log4j inside the web application?
any help on this regard is highly appreciated.

  • 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-08T23:56:16+00:00Added an answer on June 8, 2026 at 11:56 pm

    Use the prefer-web-inf-classes element in your weblogic.xml application descriptor.
    According to the documentation,

    Setting this element to True subverts the classloader delegation model so that class definitions from the Web application are loaded in preference to class definitions in higher-level classloaders. This allows a Web application to use its own version of a third-party class, which might also be part of WebLogic Server.

    This is a related question which might help you as well.

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

Sidebar

Related Questions

Requirement is this ... We have our 3 web-applications deployed in RHEL-5 server, we
We currently have a Web Forms application deployed on IIS. Our goal right now
We have our web services written in Java running on JBoss. Our website is
We have deployed our web application to Amazon EC2. And we can't create logs
I have deployed an application on the IIS server, as per my requirement i
I have deployed a PHP application on my tomcat server(Tomcat 6.0).Previously I was using
i have deployed my wcf service on IIS.. Its giving me this error when
I have an ASP .net Web Application already deployed on my local machine (virtual
I have a Java web application leveraging JPA. The database instance is specified in
We have a Java web application and we'd like to set up some basic

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.