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

The Archive Base Latest Questions

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

When I login in facebook using code as shown in Facesbook API Example in

  • 0

When I login in facebook using code as shown in Facesbook API Example in a servlet then get the following exception:

javax.servlet.ServletException: Servlet execution threw an exception

root cause

java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
    com.google.code.facebookapi.FacebookXmlRestClientBase.<clinit>(FacebookXmlRestClientBase.java:26)
    FaceBookCrawl.FacebookUserFilter.doFilter(FacebookUserFilter.java:85)
    FaceBookCrawl.FacebookUserFilter.doPost(FacebookUserFilter.java:161)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

How can I solve this?

  • 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-15T09:26:09+00:00Added an answer on May 15, 2026 at 9:26 am
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
    

    This means that the particular class is missing in the runtime classpath.

    To fix this, you just need to put the particular class (or actually, the JAR file with the particular class) in the runtime classpath. As the package name already hints, you can download the JAR file at http://commons.apache.org/logging. Put the JAR file in webapp’s /WEB-INF/lib folder, it’s part of the webapp’s runtime classpath.

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

Sidebar

Related Questions

how to develop new facebook application (login , add photos ) using the api
I had implemented facebook login in my project using javascript code. It was working
I'm using socialoauth ( http://code.google.com/p/socialoauth/ ) to implement twitter & facebook logins for a
I am using devise and create login with Facebook using omniauth, but having problem
i have created a forum using php/mysql and users login through facebook using php
I want to implement login using facebook in my windows phone 7.1 application When
I'm using the facebook login button on my site and it's working just fine.
I am using Facebook SDK in hackbook and tried to login and do all
I want to integrate facebook login into my web application developed using Spring MVC.
Am using django social-auth authentication for my app.After login to facebook or twitter from

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.