Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Ant problem in M1?
Ant problem in M1? [message #95146] Wed, 16 July 2003 14:36 Go to next message
Eclipse UserFriend
I'm using the M1 build. When I set up my workspace and try to run a
specific Ant script, I get an error:

java.lang.NoClassDefFoundError: javax.xml.parsers.SAXParserFactory

Any idea why I'm getting this message and how I can get past the problem?

Thanks,
David
Re: Ant problem in M1? [message #95176 is a reply to message #95146] Wed, 16 July 2003 15:31 Go to previous messageGo to next message
Eclipse UserFriend
David Whiteman wrote:
> I'm using the M1 build. When I set up my workspace and try to run a
> specific Ant script, I get an error:
>
> java.lang.NoClassDefFoundError: javax.xml.parsers.SAXParserFactory
>
> Any idea why I'm getting this message and how I can get past the problem?

OK, I got past he error. Seems that xerces isn't in the workspace
classpath settings by default. Adding it fixed the problem. Is this
something that changed of late?

David
Re: Ant problem in M1? [message #95192 is a reply to message #95146] Wed, 16 July 2003 15:35 Go to previous messageGo to next message
Eclipse UserFriend
Are you attempting to run the Ant build in a separate VM?
If so then you need to update the Ant runtime classpath for that config to
include the Xerces JARs

HTH
Darins

"David Whiteman" <dlwhiteman@us.ibm.com> wrote in message
news:bf45vm$t5e$1@eclipse.org...
> I'm using the M1 build. When I set up my workspace and try to run a
> specific Ant script, I get an error:
>
> java.lang.NoClassDefFoundError: javax.xml.parsers.SAXParserFactory
>
> Any idea why I'm getting this message and how I can get past the problem?
>
> Thanks,
> David
>
Re: Ant problem in M1? [message #95207 is a reply to message #95176] Wed, 16 July 2003 15:37 Go to previous messageGo to next message
Eclipse UserFriend
Running in a separate VM is new to M1.
I am working on improving the updating of the classpath.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=38815
https://bugs.eclipse.org/bugs/show_bug.cgi?id=38267

Darins

"David Whiteman" <dlwhiteman@us.ibm.com> wrote in message
news:bf495q$2ps$1@eclipse.org...
> David Whiteman wrote:
> > I'm using the M1 build. When I set up my workspace and try to run a
> > specific Ant script, I get an error:
> >
> > java.lang.NoClassDefFoundError: javax.xml.parsers.SAXParserFactory
> >
> > Any idea why I'm getting this message and how I can get past the
problem?
>
> OK, I got past he error. Seems that xerces isn't in the workspace
> classpath settings by default. Adding it fixed the problem. Is this
> something that changed of late?
>
> David
>
Re: Ant problem in M1? [message #95818 is a reply to message #95207] Thu, 17 July 2003 12:55 Go to previous message
Eclipse UserFriend
Darin Swanson wrote:
> Running in a separate VM is new to M1.
> I am working on improving the updating of the classpath.
> See https://bugs.eclipse.org/bugs/show_bug.cgi?id=38815
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=38267

Yes, that was it, thanks.
Previous Topic:IWizard
Next Topic:debugger question
Goto Forum:
  


Current Time: Sat May 24 18:40:27 EDT 2025

Powered by FUDForum. Page generated in 0.07460 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top