ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SimonRichards...@halifax.co.uk
Subject RE: ParserException on Solaris
Date Wed, 17 Oct 2001 07:37:14 GMT
I had a "cannot load class" problem with parsers when I tried to introduce
too many into the classpath (jaxp, parser, xerces, xml4j)!  The solution was
to remove the unwanted parsers and replace with the ones I used for the
build .. it appeared to work for me.

http://marc.theaimsgroup.com/?l=ant-user&m=98861858402614&w=2

Hope this helps

Simon

> -----Original Message-----
> From: detlef.brendle@canoo.com [mailto:detlef.brendle@canoo.com]
> Sent: 16 October 2001 16:43
> To: ant-user@jakarta.apache.org; Magesh Umasankar
> Subject: ParserException on Solaris
> 
> 
> hi all,
> Im running Ant on a Solaris machine and get the following 
> parser exception.
> 
> has anybody got the key to this problem.???
> 
> thanks,
> detlef
> ************************************************
> Buildfile: build.xml
> 
> BUILD FAILED
> 
> javax.xml.parsers.FactoryConfigurationError: 
> com.sun.xml.parser.SAXParserFactoryImpl
>         at java.lang.Throwable.fillInStackTrace(Native Method)
>         at java.lang.Throwable.fillInStackTrace(Compiled Code)
>         at java.lang.Throwable.<init>(Compiled Code)
>         at java.lang.Error.<init>(Error.java:41)
>         at
> javax.xml.parsers.FactoryConfigurationError.<init>(FactoryConf
> igurationError.java:68)
>         at 
> javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactor
> y.java:84)
>         at
> org.apache.tools.ant.ProjectHelper.getParserFactory(ProjectHel
> per.java:780)
>         at org.apache.tools.ant.ProjectHelper.parse(Compiled Code)
>         at
> org.apache.tools.ant.ProjectHelper.configureProject(ProjectHel
> per.java:85)
>         at org.apache.tools.ant.Main.runBuild(Compiled Code)
>         at org.apache.tools.ant.Main.start(Compiled Code)
>         at org.apache.tools.ant.Main.main(Main.java:176)
> 
> Total time: 0 seconds
> com.sun.xml.parser.SAXParserFactoryImpl
> 
> 

------------------------------------------------------------------------------
Halifax plc, Registered in England No. 2367076.  Registered Office: Trinity Road, Halifax,
West Yorkshire HX1 2RG. Represents only the Halifax Financial Services Marketing Group for
the purposes of advising on and selling life assurance, pensions and unit trust business.
 The Marketing Group is regulated by the Personal Investment Authority.  Switchboard 01422
333333.

==============================================================================


Mime
View raw message