You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/10/21 01:40:09 UTC
[jira] Commented: (MAVEN-1474) exceptions writing classes that use DOM
The following comment has been added to this issue:
Author: Brett Porter
Created: Wed, 20 Oct 2004 7:38 PM
Body:
This is probably because Maven is endorsing other xml libraries, but those are not in the compilation classpath so you miss out on both fronts.
Does setting
maven.compile.fork=true
help?
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MAVEN-1474?page=comments#action_25632
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1474
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1474
Summary: exceptions writing classes that use DOM
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Versions:
1.0
Assignee:
Reporter: Malachi de AElfweald
Created: Wed, 20 Oct 2004 5:12 PM
Updated: Wed, 20 Oct 2004 7:38 PM
Environment: WinXPSP2, JDK/J2SE 1.5/5.0
Description:
When compiling without Maven, everything works fine.
When compiling with Maven, it says that getTextContent and setTextContent (DOM) are not found.
maven.compile.source=1.5
maven.compile.target=1.5
java:compile:
[echo] Compiling to E:\devel\excp/target/classes
[javac] Compiling 13 source files to E:\devel\excp\target\classes
E:\devel\excp\src\java\org\eoti\tools\excp\cfg\DOMWrapper.java:108: cannot find symbol
symbol : method setTextContent(java.lang.String)
location: interface org.w3c.dom.Element
cp.setTextContent(url.toExternalForm());
^
E:\devel\excp\src\java\org\eoti\tools\excp\cfg\EXCPDomNode.java:57: cannot find symbol
symbol : method getTextContent()
location: interface org.w3c.dom.Node
public String getText(){return node.getTextContent().trim();}
^
2 errors
BUILD FAILED
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org