You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by Peter Wolanin <pe...@acquia.com> on 2009/01/08 01:27:17 UTC
build fails -cannot find symbol IOException
Trying to build Solr from the current svn HEAD with java 1.5 (on Mac
OS 10.5), the build (ant example) fails:
[javac] /Users/Shared/engineering/apachesolr-trunk/src/java/org/apache/solr/handler/XMLLoader.java:73:
cannot find symbol
[javac] symbol : constructor
IOException(java.lang.String,javax.xml.stream.XMLStreamException)
[javac] location: class java.io.IOException
[javac] throw new IOException(e.getMessage(), e);
If I take the version a couple commits back (svn up -r732229) the
build succeeds.
-Peter
--------------------------------------------------------------
Peter M. Wolanin, Ph.D.
Momentum Specialist, Acquia. Inc.
peter.wolanin@acquia.com
Re: build fails -cannot find symbol IOException
Posted by Koji Sekiguchi <ko...@rondhuit.com>.
Peter,
Thank you for your report. The cause of the error is XMLLoader uses Java
1.6 feature.
I just committed revert XMLLoader.java in r732576.
Koji
Peter Wolanin wrote:
> Trying to build Solr from the current svn HEAD with java 1.5 (on Mac
> OS 10.5), the build (ant example) fails:
>
> [javac] /Users/Shared/engineering/apachesolr-trunk/src/java/org/apache/solr/handler/XMLLoader.java:73:
> cannot find symbol
> [javac] symbol : constructor
> IOException(java.lang.String,javax.xml.stream.XMLStreamException)
> [javac] location: class java.io.IOException
> [javac] throw new IOException(e.getMessage(), e);
>
> If I take the version a couple commits back (svn up -r732229) the
> build succeeds.
>
> -Peter
>
> --------------------------------------------------------------
> Peter M. Wolanin, Ph.D.
> Momentum Specialist, Acquia. Inc.
> peter.wolanin@acquia.com
>
>
--
==========================================
株式会社 ロンウイット
関口宏司
100-0005 東京都千代田区丸の内1-1-3
AIGビルB1F
TEL 03-5288-5927
FAX 03-5288-5928
http://www.rondhuit.com/
ブログ http://lucene.jugem.jp/