Re: Trying to get this project to run - java.lang.NoClassDefFoundError: org/apache/xerces/parsers/SAXParser

From: Chuck Hill (chil..lobal-village.net)
Date: Tue Nov 27 2007 - 13:33:50 EST

  • Next message: Mike Schrag: "Re: Trying to get this project to run - java.lang.NoClassDefFoundError: org/apache/xerces/parsers/SAXParser"

    On Nov 27, 2007, at 10:26 AM, James Cicenia wrote:

    > hmm, nope...
    >
    > did that, relaunched eclipse, same error... (it was a newly
    > imported project from the old Eclipse/WOlips world.
    >
    > And, since my other project runs fine, I don't think it has
    > anything to do with what is in /Library/Java/Extensions or
    > WebOBjects/Extensions.

    Does your other project include an XML property list?

    >
    > Any other thought?
    >
    > James
    >
    > On Nov 27, 2007, at 11:53 AM, Miguel Arroz wrote:
    >
    >> Hi!
    >>
    >> Build clean, and run again. That always happens to me the first
    >> time I run a project after importing it. Never had patiente do
    >> look at it, just clean and go.
    >>
    >> Yours
    >>
    >> Miguel Arroz
    >>
    >> On 2007/11/27, at 17:30, James Cicenia wrote:
    >>
    >>> I don't exactly know what it is trying to tell me... what class?
    >>>
    >>> 2007-11-27 11:17:58 CST] <main> A fatal exception occurred: org/
    >>> apache/xerces/parsers/SAXParser
    >>> [2007-11-27 11:17:58 CST] <main> java.lang.NoClassDefFoundError:
    >>> org/apache/xerces/parsers/SAXParser
    >>> at com.webobjects.foundation.NSPropertyListSerialization
    >>> $_XML.parseStringIntoPlist(NSPropertyListSerialization.java:1153)
    >>> at
    >>> com.webobjects.foundation.NSPropertyListSerialization.propertyListFr
    >>> omString(NSPropertyListSerialization.java:78)
    >>> at
    >>> com.webobjects.foundation.NSPropertyListSerialization.propertyListWi
    >>> thPathURL(NSPropertyListSerialization.java:93)
    >>> at com.webobjects.foundation.NSBundle.initInfoDictionary
    >>> (NSBundle.java:2489)
    >>> at com.webobjects.foundation.NSBundle.CreateBundleWithPath
    >>> (NSBundle.java:817)
    >>> at
    >>> com.webobjects.foundation.NSBundle._bundleWithPathShouldCreateIsJar(
    >>> NSBundle.java:487)
    >>> at com.webobjects.foundation.NSBundle.LoadBundlesFromClassPath
    >>> (NSBundle.java:742)
    >>> at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:365)
    >>> at
    >>> com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(
    >>> WOProperties.java:187)
    >>> at com.webobjects.appserver.WOApplication._initWOApp
    >>> (WOApplication.java:5081)
    >>> at com.webobjects.appserver.WOApplication.<init>
    >>> (WOApplication.java:551)
    >>> at com.wirehose.layout.WHApplication.<init>(WHApplication.java:104)
    >>> at com.hb.Application.<init>(Application.java:91)
    >>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    >>> Method)
    >>> at sun.reflect.NativeConstructorAccessorImpl.newInstance
    >>> (NativeConstructorAccessorImpl.java:39)
    >>> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
    >>> (DelegatingConstructorAccessorImpl.java:27)
    >>> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    >>> at java.lang.Class.newInstance0(Class.java:308)
    >>> at java.lang.Class.newInstance(Class.java:261)
    >>> at com.webobjects.appserver.WOApplication.main
    >>> (WOApplication.java:323)
    >>> at com.hb.Application.main(Application.java:85)
    >>>
    >>
    >> Miguel Arroz
    >> http://www.terminalapp.net
    >> http://www.ipragma.com
    >>
    >>
    >>
    >
    >

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Tue Nov 27 2007 - 13:35:23 EST