You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dhiraj Soni <dh...@yahoo.com> on 2000/10/07 07:20:35 UTC
Build Falied for 0.5 release..
Hi,
I just downloaded the 0.5 milestone release src and tried to build it [[
After downloading all the prequisite S/w.. ]]
I get this error in the end.. I saw the parser.jar and it does not
have org.xml.sax.ext in it , i downloaded the latest 1.0.1 jaxp from sun...
Where is this ext package coming from?
Thanks,
Dhiraj.
---
BUILD FAILED
build.xml:68: java.lang.NoClassDefFoundError: org/xml/sax/ext/LexicalHandler
java.lang.NoClassDefFoundError: org/xml/sax/ext/LexicalHandler
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:477)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
9)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$1(URLClassLoader.java:216)
at java.net.URLClassLoader$1.run(URLClassLoader.java, Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java, Compiled
Code)
at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java,
Compiled Co
de)
at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java,
Compiled Co
de)
at
org.apache.tools.ant.taskdefs.optional.XalanLiaison.<init>(XalanLiais
on.java:74)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at
org.apache.tools.ant.taskdefs.XSLTProcess.setProcessor(XSLTProcess.ja
va:207)
at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java, C
ompiled Code)
at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
at org.apache.tools.ant.Project.runTarget(Project.java:708)
at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
Cod
e)
at org.apache.tools.ant.Project.executeTargets(Project.java,
Compiled Co
de)
at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
at org.apache.tools.ant.Main.main(Main.java:107)
Total time: 2 seconds
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Re: Build Falied for 0.5 release..
Posted by Sean Moore <se...@mindspring.com>.
I too am getting this error.
The file struts-bean.xml is there.
Someone earlier had reported this error and had said it was
a bug in ant not sending the filenames to xalan as uri (file:///d:/..)
I got the oct 6 build of ant and the problem is still there
for me. (yes I made sure I was using the new ant.jar)
Maybe this is a win32 only error because of the drive letter.
Does anyone have any other ideas?
xalan 1.2D02
struts - nightly build from 10/6
ant - nightly build from 10/6
jaxp 1.0.1
jdk1.3
Win NT
I would like to contribute but I need to at least build it first.
Sean
> --- ERROR---
>
> Now this comes from xerces.jar... I included that too and started
> build ,again i
> got this error:
>
> ---ERROR ---
> compile.library:
> [XSLTProcess] Transforming into
> F:\programs\apache\struts\build\struts\library
> [XSLTProcess] Loading stylesheet
> F:\programs\apache\struts\jakarta-struts\src\do
> c\stylesheets\tld.xsl
> F:\programs\apache\struts\jakarta-struts\src\doc\struts-bean.xml; Line
> 0; Column
> 0
> XSL Error: Could not parse
> F:\programs\apache\struts\jakarta-struts\src\doc\stru
> ts-bean.xml document!
> XSL Error: SAX Exception
> [XSLTProcess] Failed to process
> F:\programs\apache\struts\jakarta-struts\src\doc
> \struts-bean.xml
> ---ERROR END---
RE: Build Falied for 0.5 release..
Posted by Dhiraj Soni <dh...@yahoo.com>.
Hi,
I got this org.xml.sax.ext package from
http://www.megginson.com/SAX/
Question is why are we using SAX2.0 with its extensions.? Isnt
is supposed to compile with jaxp only????
After getting this package i still got error saying
--- ERROR---
build.xml:68: java.lang.NoClassDefFoundError:
org/apache/xml/serialize/BaseMar
pSerializer
java.lang.NoClassDefFoundError:
org/apache/xml/serialize/BaseMarkupSerializer
--- ERROR---
Now this comes from xerces.jar... I included that too and started build
,again i
got this error:
---ERROR ---
compile.library:
[XSLTProcess] Transforming into
F:\programs\apache\struts\build\struts\library
[XSLTProcess] Loading stylesheet
F:\programs\apache\struts\jakarta-struts\src\do
c\stylesheets\tld.xsl
F:\programs\apache\struts\jakarta-struts\src\doc\struts-bean.xml; Line 0;
Column
0
XSL Error: Could not parse
F:\programs\apache\struts\jakarta-struts\src\doc\stru
ts-bean.xml document!
XSL Error: SAX Exception
[XSLTProcess] Failed to process
F:\programs\apache\struts\jakarta-struts\src\doc
\struts-bean.xml
---ERROR END---
Now this files exist i have no idea why its not parsing..
HOW DO YOU GUYS COMPILE THIS THING(struts-src) ... CAN ANYONE SEND ME
HIS/HER CLASSPATH Please..
--- CLASSPATH---
Mine currently looks like this:
F:\oracle\ora81\jdbc\lib\classes12.zip;F:\programs\apache\xalan\xalan.jar;F:
\programs\apache\tomcat\lib\jaxp.jar;F:\programs\apache\tomcat\lib\parser.ja
r;F:\programs\apache\turbine\lib\mail-1.1.3.jar;F:\programs\apache\turbine\l
ib\activation-1.0.1.jar;F:\programs\apache\servletapi\jakarta-servletapi\lib
\servlet.jar;F:\apache\jsdk\lib\jsdk.jar;F:\programs\apache\sax2\sax2.jar;F:
\programs\apache\sax2\sax2-ext-1.0\sax2-ext.jar;F:\programs\apache\xalan\xer
ces.jar
---CLASSPATH---
Thanks,
Dhiraj Soni
Re: Build Falied for 0.5 release..
Posted by Robert Leland <Ro...@freetocreate.org>.
> I get this error in the end.. I saw the parser.jar and it does not
> have org.xml.sax.ext in it , i downloaded the latest 1.0.1 jaxp from sun...
> Where is this ext package coming from?
well org.xml probably comes from www.xml.org.
-Rob