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]

Reply via email to