facebook

getting this error on building :Unable to create SAX parser.

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #267997 Reply

    sashish
    Member

    Hi,

    We are doing an Ant build thru Myeclipse and error occurs during the execution of the following target:

    <target name=”castor.gen.src”
    description=”Generate Java source files from XSD.”>
    <castor-srcgen todir=”${build.castor.src}”
    package=”com.fareis.pls.castor”
    types=”j2″
    warnings=”false”
    nomarshall=”false”>
    <fileset dir=”${project.home}/resources”>
    <include name=”**/*.xsd”/>
    </fileset>
    </castor-srcgen>
    </target>

    We also have the following taskdef in the build.xml file:

    <taskdef name=”castor-srcgen”
    classname=”org.exolab.castor.tools.ant.taskdefs.CastorSourceGenTask”
    classpathref=”castor.classpath” />

    Any suggestions to this problem are welcome,
    Thanks,
    Ashish

    #268015

    Riyad Kalla
    Member

    Ashish,
    What problem is occuring?

    #268033

    sashish
    Member

    Hi Riyad,

    As already mentioned in the mail subject that the problem is that we are getting error “Unable to create SAX parser” when we are building. But now that problem is solved. There were few jar files which we were taking from eclipse instead of taking it from ANT lib directory. We did the changes and now its working fine.

    Thanks,
    Ashish

    #268039

    Riyad Kalla
    Member

    Ashish, I’m glad it’s working, thank you for following up.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: getting this error on building :Unable to create SAX parser.

You must be logged in to post in the forum log in