struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: Error while building struts
Date Tue, 19 Dec 2000 02:53:43 GMT
Dan Cancro wrote:

> I'm getting the following error while trying to build struts from
> jakarta-struts-20001217.zip.
>
> My classpath is:
> c:\;.;c:\jdk1.2.2\jre\lib\rt.jar;c:\Ant\lib\jaxp.jar;c:\Ant\lib\parser.jar;C
> :\xalan-j_1_2_2\xalan.jar;c:\Ant\lib\optional.jar;c:\xalan-j_1_2_2\xerces.ja
> r;c:\j2sdkee1.2.1\lib\j2ee.jar
>

Would it be possible to try this build without the "j2ee.jar" file on the class
path?  I'm concerned that it might contain some classes that conflict with
Xalan.

Also, you are using Ant 1.2, right?

Craig McClanahan



>
> Any ideas?
>
> P:\jakarta-struts>build dist
> Searching for build.xml ...
> Buildfile: P:\jakarta-struts\build.xml
> A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL
> relocation target' has occurred in :
>   'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting
> method.
>   Please report this error in detail to
> http://java.sun.com/cgi-bin/bugreport.cgi
>
> prepare.dist:
>
> prepare.library:
>
> compile.library:
>     [style] Transforming into P:\build\struts\library
>     [style] Loading stylesheet P:\jakarta-struts\src\doc\stylesheets\tld.xsl
>
> dist.library:
>
> prepare.documentation:
>
> compile.documentation:
>     [style] Transforming into P:\build\struts\documentation
>     [style] Loading stylesheet
> P:\jakarta-struts\src\doc\stylesheets\struts.xsl
>     [style] Failed to process P:\jakarta-struts\src\doc\index.xml
>
> BUILD FAILED
>
> P:\jakarta-struts\build.xml:141: java.lang.RuntimeException: Attribute child
> does not have an owner document!
> java.lang.RuntimeException: Attribute child does not have an owner document!
>         at
> org.apache.xalan.xpath.xml.XMLParserLiaisonDefault.getParentOfNode(XMLParser
> LiaisonDefault.java:1311)
>         at
> org.apache.xalan.xpath.MutableNodeListImpl.isDOMNodeAfter(MutableNodeListImp
> l.java, Compiled Code)
>         at
> org.apache.xalan.xpath.MutableNodeListImpl.addNodeInDocOrder(MutableNodeList
> Impl.java, Compiled Code)
>         at
> org.apache.xalan.xpath.MutableNodeListImpl.addNodeInDocOrder(MutableNodeList
> Impl.java:456)
>         at
> org.apache.xalan.xpath.MutableNodeListImpl.addNodesInDocOrder(MutableNodeLis
> tImpl.java, Compiled Code)
>         at
> org.apache.xalan.xpath.SimpleNodeLocator.union(SimpleNodeLocator.java,
> Compiled Code)
>         at org.apache.xalan.xpath.XPath.union(XPath.java:851)
>         at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
>         at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
>         at org.apache.xalan.xpath.XPath.execute(XPath.java:311)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChildren(ElemTemp
> lateElement.java, Compiled Code)
>         at
> org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemplates.java:176
> )
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
> t.java, Compiled Code)
>         at org.apache.xalan.xslt.ElemCopy.execute(ElemCopy.java:120)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
> t.java, Compiled Code)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.transformChild(ElemTemplateElement
> .java:1199)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChildren(ElemTemp
> lateElement.java, Compiled Code)
>         at
> org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemplates.java:176
> )
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
> t.java, Compiled Code)
>         at
> org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
> Compiled Code)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
> t.java, Compiled Code)
>         at
> org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
> Compiled Code)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
> t.java, Compiled Code)
>         at
> org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
> Compiled Code)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
> t.java, Compiled Code)
>         at
> org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
> Compiled Code)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
> t.java, Compiled Code)
>         at
> org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
> Compiled Code)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
> t.java, Compiled Code)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.transformChild(ElemTemplateElement
> .java:1199)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.processLocatedNode(ElemTemplateEle
> ment.java:1061)
>         at
> org.apache.xalan.xpath.SimpleNodeLocator.findChildren(SimpleNodeLocator.java
> , Compiled Code)
>         at
> org.apache.xalan.xpath.SimpleNodeLocator.step(SimpleNodeLocator.java,
> Compiled Code)
>         at
> org.apache.xalan.xpath.SimpleNodeLocator.locationPath(SimpleNodeLocator.java
> :321)
>         at org.apache.xalan.xpath.XPath.locationPath(XPath.java:964)
>         at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
>         at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
>         at org.apache.xalan.xpath.XPath.execute(XPath.java:311)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChildren(ElemTemp
> lateElement.java, Compiled Code)
>         at
> org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemplates.java:176
> )
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
> t.java, Compiled Code)
>         at org.apache.xalan.xslt.ElemTemplate.execute(ElemTemplate.java:145)
>         at org.apache.xalan.xslt.StylesheetRoot.process(StylesheetRoot.java,
> Compiled Code)
>         at org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java,
> Compiled Code)
>         at
> org.apache.tools.ant.taskdefs.optional.XalanLiaison.transform(XalanLiaison.j
> ava)
>         at
> org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:307)
>         at
> org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java, Compiled
> Code)
>         at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
>         at org.apache.tools.ant.Project.runTarget(Project.java:818)
>         at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
> Code)
>         at org.apache.tools.ant.Project.executeTargets(Project.java,
> Compiled Code)
>         at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
>         at org.apache.tools.ant.Main.main(Main.java:149)
>
> Total time: 8 seconds


Mime
View raw message