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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:04:33+00:00 2026-06-08T19:04:33+00:00

I am stuck with this exception and I can’t seem to get around. How

  • 0

I am stuck with this exception and I can’t seem to get around. How to rid this off? Here it is.

java.lang.NoClassDefFoundError: myBlog/DAOImpls/DAOImplMan

at myBlog.Handlers.HandlerMan.saveComment(HandlerMan.java:34)
at myBlog.Services.ServiceMan.saveComments(ServiceMan.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)

In the HandlerMan class i have this method which calls for an instance of DAOImplMan class

public Comment saveComment(Comment comment){
     DAOImplMan.getInstance().saveComment(comment);
     return comment;
}

and the DAOImplMan class is like this.

package myBlog.DAOImpls;
public class DAOImplMan extends BaseDAOHibernateImpl implements DAOMan{
    private static DAOImplMan INSTANCE = null;

    public static DAOImplMan getInstance(){
        if(INSTANCE == null){
            INSTANCE = new DAOImplMan();
        }
        return INSTANCE;
    }

    @Override
    public void saveComment(Comment comment){//some codes}

I have looked at other posts that deals with this kind of exception. My classpaths are set right. and I actually don’t have this kind of exception in my other projects. And I can’t dig any further on my own.

  • 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-08T19:04:35+00:00Added an answer on June 8, 2026 at 7:04 pm

    Remove all of your project .class files and redeploy again. Check this is location of class file in your project.

    enter image description here

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

Sidebar

Related Questions

Hi i got stuck with this problem, i can't find out how to get
I have been stuck on this for a while now and I cannot seem
I'm really hoping someone can help me out with this one. I've been stuck
This might be a trivial one, but I kind of stuck here. I have
For a day now i'm stuck with this null problem in my repository. here
This is a very trivial problem but I can't seem to find a way
I am stuck! this seems really daft but I can not see where I
I am stuck with an ConcurrentModificationException and I Can't figure out where this happens
Why does this code not print an exception stack trace? public class Playground {
I've come a bit stuck this afternoon with a bug in my web application

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.