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

The Archive Base Latest Questions

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

I’m strugelling with an odd problem for days now. Only one of the users

  • 0

I’m strugelling with an odd problem for days now.

Only one of the users of my webapp get an NoClassDefFoundError when trying to use some functionallity. This is the stacktrace:

java.lang.NoClassDefFoundError: com/sun/xml/bind/WhiteSpaceProcessor
    at com.sun.xml.bind.DatatypeConverterImpl._parseInt(DatatypeConverterImpl.java:105)
    at com.foo.bar.webservice.generated.GetLoginsRequest_JaxbXducedAccessor_panelId.parse(TransducedAccessor_field_Integer.java:32)
    at com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.startElement(StructureLoader.java:166)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:406)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:384)
    at com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:35)
    at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:101)
    at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:224)
    at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:107)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:289)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:272)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:106)
    at org.springframework.oxm.jaxb.Jaxb2Marshaller.unmarshal(Jaxb2Marshaller.java:424)

On a strange way WhiteSpaceProcessor can’t be found while it is on the classpath.
I used tattletale to look at the possitions of the usage of the classes:

WhiteSpaceProcessor only exist once on the classpath:
enter image description here

DatatypeConverterImpl only exist once on the classpath
enter image description here

I’m stuck on the fact that the exact war on a different environment is working perfect.

working environment:

  • Windows machine
  • Tomcat 5.5.28
  • Java 5 (jdk1.5.0.22)

none working environment:

  • Linux machine
  • Tomcat 5.5.??
  • Java 5 (jdk1.5.0.22)

I hope somebody can sent me in the right direction.

tomcat server is already restarted

  • 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-26T05:21:16+00:00Added an answer on May 26, 2026 at 5:21 am

    Did you use tattletale on the working or non-working machine?

    Perhaps the failing environment contains some jar file in jre/lib/ext (or a similar extensions directory), and that’s being used in preference to a “lower down” version?

    EDIT: Just to go into a bit more detail about the situations in which NoClassDefFoundError can be thrown, it’s worth reading the JVM spec, chapter 5. It talks about three situations:

    • The resource corresponding to the class can’t be found at all
    • The resource is found, but doesn’t correspond to the right class (although in that case I’d expect a message including “wrong name”)
    • You’re using a version of Java earlier than 1.2, and the class file has an unsupported major/minor version number. (This situation now throws UnsupportedClassVersionError.)

    Also read section 2.17.5: it states that if the class is in an “erroneous state” (e.g. previously initialization failed, or there was a bytecode verification failure) then NoClassDefFoundError will be thrown.

    Now, if the static initializer of the class fails then the first caller sees an ExceptionInInitializerError – but the second caller sees NoClassDefFoundError. Here’s a short but complete program to demontrate this:

    class Foo {
        static {
            if (true) {
                throw new RuntimeException();
            }
        }
    
        static void foo() {
        }
    }
    
    public class Test {
    
        public static void main(String[] args) {
            try {
                Foo.foo();
            } catch (Throwable t) {
                System.out.println("First exception: " + t);
            }
            try {
                Foo.foo();
            } catch (Throwable t) {
                System.out.println("Second exception: " + t);
            }
        }
    }
    

    Now unless something in your system is suppressing the ExceptionInInitializerError, I’d expect to see that in the log before NoClassDefFoundError if that were the problem. I still think it’s more likely that your failing system is loading one class in an extension classloader which then can’t find the ShiteSpaceProcessor class.

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

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
I want use html5's new tag to play a wav file (currently only supported
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I am reading a book about Javascript and jQuery and using one of the

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.