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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:23:38+00:00 2026-05-17T21:23:38+00:00

I have been working on a demo project all day and everything went just

  • 0

I have been working on a demo project all day and everything went just fine.

Suddenly (and, as it seems, unrelated to any of my actions) my application fails with a NoClassDefFoundError somewhere in the CDI internals. Strangely it worked before but I just cannot get it to work again.

I am using a rather fresh NB 6.9.1 install without any modules. I launched my Java Web application simply by clean+build and then run menu items.

The non-default setup is this:

I added two JARs from the Jersey project to the Library folder of my project:

jersey-bundle-1.5-SNAPSHOT.jar
jersey-view-client-1.5-SNAPSHOT.jar

I removed the restlib libraries added by Glassfish.

I set class loader delegate to false in sun-web.xml:

as described by the Jersey docs.

That all worked fine up to a sudden point.

Can anyone provide a clue where I could at least start investigating?

  • 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-17T21:23:39+00:00Added an answer on May 17, 2026 at 9:23 pm

    The same thing (everything works until NoClassDefFoundError emerges) happened to me once in a while on other projects as well.

    The solution is to remove .netbeans/6.9/var/cache and restart NetBeans. I suspect that the culprit is corrupted index for NetBeans’ custom classloader.

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

Sidebar

Related Questions

I have been working on this app for at least 3-4 months and just
I have been working on a project in C# (.net4). Project pretty much allows
I have been working on a project on and off, but I haven't touched
I have been working on a huge ETL project with 150+ tables and during
I have been working on getting log4net working in a demo program for a
i have been working on a small demo and i wrote a function which
I have been working with jquery-ui's sortable demo for a while. On looking closely,
I have been working all night and yesterday on this header section in css,
I have a web flow project I been working on and now its time
Hey I have been following gcm tutorial to create gcm-demo-server and a demo-client. All

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.