Do the JDK versions for the IDE and the command prompt match?

On 11/8/05, luan xl <[EMAIL PROTECTED]> wrote:
> I used the "maven eclipse" to generate the eclipse project, and in the IDE
> everything is fine, compile is ok and unit test is ok. but when I switch
> back to using maven:
>
> maven -X java:compile
>
> the compiler can not find getTextContent() method in org.w3c.dom.Node, and
> point the following statement as an error:
>    code += childList.item(i).getTextContent().hashCode() * 5L;
>
> and I also tried "maven ant" to produce the ant build.xml, then I compile,
> test, everything is also ok.
>
> so it that a bug?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
http://www.multitask.com.au/people/dion/
"You are going to let the fear of poverty govern your life and your
reward will be that you will eat, but you will not live." - George
Bernard Shaw

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to