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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:30:00+00:00 2026-05-20T04:30:00+00:00

I have some 3rd party jar files that I want to reference in my

  • 0

I have some 3rd party jar files that I want to reference in my tomcat web application. I added this line to catalina.properties:

shared.loader=/home/ollie/dev/java/googleapi_samples/gdata/java/lib/*.jar

but I’m still getting this error:

org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/google/gdata/util/ServiceException
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

I verified that the com.google.gdata.util.ServiceException is in the gdata-core-1.0.jar file which is in the directory:

/home/ollie/dev/java/googleapi_samples/gdata/java/lib

I did bounce tomcat after I modified catalina.properties.

Update 1:
I tried copying the gdata-core-1.0.jar file into
/var/lib/tomcat6/webapp/examples/WEB-INF/lib
as a test but that didn’t fix the problem either.

Update 2:
It actually does work when I copy the jar file directly into the WEB-INF/lib directory. There was a permissions issue that I had to resolve. But it’s still not working when I use the shared.loader setting. I reconfirmed that the path is correct.

  • 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-20T04:30:00+00:00Added an answer on May 20, 2026 at 4:30 am

    I’m not sure about this one, but there are two potential causes:

    1. There’s a file permission issue in path as specified in shared.loader, probably the same as you had when fiddling with /WEB-INF/lib.

    2. You aren’t editing the catalina.properties file of the Tomcat instance you think you’re using. For example, if you’re running Tomcat from inside Eclipse, you need to ensure that you’ve configured Eclipse to take over Tomcat rather than using workspace metadata (where Eclispe actually runs based on a copy of Tomcat conf files). To do this, undeploy/remove all projects, doubleclick Tomcat entry and select Use Tomcat installation in Server locations section. Then the config files in Tomcat’s own /conf folder will be used. Otherwise you need to edit it in Servers project of Eclipse workspace.

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

Sidebar

Related Questions

Let's say you have some 3rd-party library class that you want to extend, simply
I've got some 3rd party beans that have method signatures that fit quite well
In my ExtJS 4.0.7 app I have some 3rd party javascripts that I need
In project I have used some 3rd party application. Now it looks it's no
I have some data from a 3rd party that includes some string Language property
I have some JavaScript from a 3rd party vendor that is initiating an image
I have some 3rd party Flash SWFs on my site that are up to
Hi I have a reporting application written against some 3rd party software. Unfortunately it
I have a project where I have some regular files and some 3rd party
so I have some 3rd party native library that works only in 32 bit

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.