struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yibing Li" <...@gnxchange.com>
Subject Ant build struts 1.1b failed
Date Tue, 02 Jul 2002 15:46:41 GMT
Hi,

     I got the following error messages when I download the struts 1.1b src
and modified
build.properties and build.xml. From the error, it looks like that xalan.jar
is not included in the classpath so that the class is not found. But I have
double checked and have added after all the places where xerces.jar is
located. I have also checked that the class
org.apache.xalan.processor.TransformerFactoryImpl is really included inside
xalan.jar.

     What is missing?  I got stuck here. Please help me out.

Thanks,

Yibing


----------------------------------------------------------------------------
-----------------------------------------------
C:\jakarta-struts-1.1-b1-src>ant dist
Buildfile: build.xml

init:
     [echo] --------- jakarta-struts 1.1-b1 ---------
     [echo]
     [echo] java.class.path =
c:\jdeveloper\jdk\lib\tools.jar;C:\jakarta-ant-1.4
.1\lib\jaxp.jar;C:\jakarta-ant-1.4.1\lib\crimson.jar;C:\jakarta-ant-1.4.1\li
b\an
t.jar;
     [echo] java.home = c:\jdeveloper\jdk\jre
     [echo] user.home = C:\Documents and Settings\yli

prepare.dist:
    [mkdir] Created dir: C:\jakarta-struts-1.1-b1-src\dist
    [mkdir] Created dir: C:\jakarta-struts-1.1-b1-src\dist\lib
    [mkdir] Created dir: C:\jakarta-struts-1.1-b1-src\dist\webapps

prepare.library:
    [mkdir] Created dir:
C:\jakarta-struts-1.1-b1-src\target\library\classes\MET
A-INF
    [mkdir] Created dir:
C:\jakarta-struts-1.1-b1-src\target\library\classes\MET
A-INF\tlds
    [mkdir] Created dir:
C:\jakarta-struts-1.1-b1-src\target\library\classes\org
\apache\struts\resources
     [copy] Copying 1 file to
C:\jakarta-struts-1.1-b1-src\target\library\classe
s\META-INF
     [copy] Copying 4 files to
C:\jakarta-struts-1.1-b1-src\target\library\class
es\org\apache\struts\resources
     [copy] Copying 1 file to C:\jakarta-struts-1.1-b1-src\target\library
     [copy] Copying 1 file to C:\jakarta-struts-1.1-b1-src\target\library
     [copy] Copying 1 file to C:\jakarta-struts-1.1-b1-src\target\library
     [copy] Copying 1 file to C:\jakarta-struts-1.1-b1-src\target\library
     [copy] Copying 1 file to C:\jakarta-struts-1.1-b1-src\target\library
     [copy] Copying 1 file to C:\jakarta-struts-1.1-b1-src\target\library
     [copy] Copying 1 file to C:\jakarta-struts-1.1-b1-src\target\library
     [copy] Copying 1 file to C:\jakarta-struts-1.1-b1-src\target\library
     [copy] Copying 1 file to C:\jakarta-struts-1.1-b1-src\target\library

compile.library:
    [javac] Compiling 192 source files to
C:\jakarta-struts-1.1-b1-src\target\li
brary\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
     [copy] Copying 7 files to
C:\jakarta-struts-1.1-b1-src\target\library\class
es
     [copy] Copying 5 files to C:\jakarta-struts-1.1-b1-src\target\library
    [style] DEPRECATED - xslp processor is deprecated. Use trax or xalan
instead
.
    [style] java.lang.ClassNotFoundException:
org.apache.tools.ant.taskdefs.opti
onal.XalanLiaison
    [style]     java.lang.Object java.net.URLClassLoader$1.run()
    [style]     java.lang.Object
java.security.AccessController.doPrivileged(jav
a.security.PrivilegedExceptionAction, java.security.AccessControlContext)
    [style]     java.lang.Class
java.net.URLClassLoader.findClass(java.lang.Stri
ng)
    [style]     java.lang.Class
java.lang.ClassLoader.loadClass(java.lang.String
, boolean)
    [style]     java.lang.Class
sun.misc.Launcher$AppClassLoader.loadClass(java.
lang.String, boolean)
    [style]     java.lang.Class
java.lang.ClassLoader.loadClass(java.lang.String
)
    [style]     java.lang.Class
java.lang.ClassLoader.loadClassInternal(java.lan
g.String)
    [style]     java.lang.Class java.lang.Class.forName0(java.lang.String,
boole
an, java.lang.ClassLoader)
    [style]     java.lang.Class java.lang.Class.forName(java.lang.String)
    [style]     java.lang.Class
org.apache.tools.ant.taskdefs.XSLTProcess.loadCl
ass(java.lang.String)
    [style]     void
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(
java.lang.String)
    [style]     org.apache.tools.ant.taskdefs.XSLTLiaison
org.apache.tools.ant.t
askdefs.XSLTProcess.getLiaison()
    [style]     void org.apache.tools.ant.taskdefs.XSLTProcess.execute()
    [style]     void org.apache.tools.ant.Task.perform()
    [style]     void org.apache.tools.ant.Target.execute()
    [style]     void org.apache.tools.ant.Target.performTasks()
    [style]     void
org.apache.tools.ant.Project.executeTarget(java.lang.String
)
    [style]     void
org.apache.tools.ant.Project.executeTargets(java.util.Vecto
r)
    [style]     void
org.apache.tools.ant.Main.runBuild(java.lang.ClassLoader)
    [style]     void org.apache.tools.ant.Main.start(java.lang.String[],
java.ut
il.Properties, java.lang.ClassLoader)
    [style]     void org.apache.tools.ant.Main.main(java.lang.String[])
    [style] java.lang.ClassNotFoundException:
org.apache.tools.ant.taskdefs.opti
onal.XslpLiaison
    [style]     java.lang.Object java.net.URLClassLoader$1.run()
    [style]     java.lang.Object
java.security.AccessController.doPrivileged(jav
a.security.PrivilegedExceptionAction, java.security.AccessControlContext)
    [style]     java.lang.Class
java.net.URLClassLoader.findClass(java.lang.Stri
ng)
    [style]     java.lang.Class
java.lang.ClassLoader.loadClass(java.lang.String
, boolean)
    [style]     java.lang.Class
sun.misc.Launcher$AppClassLoader.loadClass(java.
lang.String, boolean)
    [style]     java.lang.Class
java.lang.ClassLoader.loadClass(java.lang.String
)
    [style]     java.lang.Class
java.lang.ClassLoader.loadClassInternal(java.lan
g.String)
    [style]     java.lang.Class java.lang.Class.forName0(java.lang.String,
boole
an, java.lang.ClassLoader)
    [style]     java.lang.Class java.lang.Class.forName(java.lang.String)
    [style]     java.lang.Class
org.apache.tools.ant.taskdefs.XSLTProcess.loadCl
ass(java.lang.String)
    [style]     void
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(
java.lang.String)
    [style]     org.apache.tools.ant.taskdefs.XSLTLiaison
org.apache.tools.ant.t
askdefs.XSLTProcess.getLiaison()
    [style]     void org.apache.tools.ant.taskdefs.XSLTProcess.execute()
    [style]     void org.apache.tools.ant.Task.perform()
    [style]     void org.apache.tools.ant.Target.execute()
    [style]     void org.apache.tools.ant.Target.performTasks()
    [style]     void
org.apache.tools.ant.Project.executeTarget(java.lang.String
)
    [style]     void
org.apache.tools.ant.Project.executeTargets(java.util.Vecto
r)
    [style]     void
org.apache.tools.ant.Main.runBuild(java.lang.ClassLoader)
    [style]     void org.apache.tools.ant.Main.start(java.lang.String[],
java.ut
il.Properties, java.lang.ClassLoader)
    [style]     void org.apache.tools.ant.Main.main(java.lang.String[])

BUILD FAILED

C:\jakarta-struts-1.1-b1-src\build.xml:318:
javax.xml.transform.TransformerFacto
ryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl
 not found

Total time: 15 seconds


--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message