You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by swiss knife <sw...@email.com> on 2011/09/09 11:53:38 UTC

setXIncludeAware(boolean) is undefined for the type DocumentBuilderFactory Config.java

Hello,

 Sorry for the newbie question, I just checked out Solr using maven and I get the following compile error on Eclipse:

 The method setXIncludeAware(boolean) is undefined for the type DocumentBuilderFactory Config.java

 /solr/core/src/java/org/apache/solr/core line 113 Java Problem

 Am I missing components ? where do you guys go to checks in case of similar problems ?

 Thank you.

Re: setXIncludeAware(boolean) is undefined for the type DocumentBuilderFactory Config.java

Posted by Andrzej Bialecki <ab...@getopt.org>.
On 09/09/2011 14:08, Erick Erickson wrote:
> DocumentBuilderFactory is a Java class, not a Solr class, what version
> of Java are you trying to compile against?
>
> Best
> Erick
>
> On Fri, Sep 9, 2011 at 5:53 AM, swiss knife<sw...@email.com>  wrote:
>>
>> Hello,
>>
>> Sorry for the newbie question, I just checked out Solr using maven and I get
>> the following compile error on Eclipse:
>>
>> The method setXIncludeAware(boolean) is undefined for the type
>> DocumentBuilderFactory    Config.java
>>
>>      /solr/core/src/java/org/apache/solr/core    line 113    Java Problem
>>
>> Am I missing components ? where do you guys go to checks in case of similar
>> problems ?

I had a similar problem in another project, it turned out to be a 
conflicting version of the XML API-s in the JRE and a particular version 
of Xerces. AFAIK this issue has been resolved in the recent versions of 
Xerces. If you can't upgrade Xerces, try swapping the order of classpath 
entries, so that one (or the other, can't remember which one...) API 
takes precedence.


-- 
Best regards,
Andrzej Bialecki     <><
  ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: setXIncludeAware(boolean) is undefined for the type DocumentBuilderFactory Config.java

Posted by Erick Erickson <er...@gmail.com>.
DocumentBuilderFactory is a Java class, not a Solr class, what version
of Java are you trying to compile against?

Best
Erick

On Fri, Sep 9, 2011 at 5:53 AM, swiss knife <sw...@email.com> wrote:
>
> Hello,
>
> Sorry for the newbie question, I just checked out Solr using maven and I get
> the following compile error on Eclipse:
>
> The method setXIncludeAware(boolean) is undefined for the type
> DocumentBuilderFactory    Config.java
>
>     /solr/core/src/java/org/apache/solr/core    line 113    Java Problem
>
> Am I missing components ? where do you guys go to checks in case of similar
> problems ?
>
> Thank you.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org