You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chanan Braunstein <cb...@knovel.com> on 2004/02/10 22:22:23 UTC

Deployer problem

 Hello,
	I am trying to use the client deployer to compile my web-app. There
is not much help on the issue, and for someone like me that never used ant
before it is hard to figure out what to do... However here is what I did so
far:

Download ant & tomcat 5 deployer. Copied the deployer lib files into ant
lib. Added ant\bin to my PATH (Windows) copied build.xml from the deployer
to my webapp directory. Copied the lib folder from ant to my webapp
directory (I guess I could have put the path in the command line for ant,
but I was too lazy and I wanted to see if it works first), edited the
build.xml to point to the name of my web-app. And then executed ant from the
command line.

Here is my output:

compile:
     [copy] Copying 1965 files to C:\Tomcat 5.0\webapps\build\webapp\knovel2
     [copy] Copied 33 empty directories to 1 empty directory under C:\Tomcat
5.0
\webapps\build\webapp\knovel2
  [jasper2] Feb 10, 2004 4:15:09 PM org.apache.jasper.JspC initClassLoader
  [jasper2] WARNING: TLD files should not be placed in /WEB-INF/lib
  [jasper2] Feb 10, 2004 4:15:09 PM org.apache.jasper.JspC initClassLoader
  [jasper2] WARNING: TLD files should not be placed in /WEB-INF/lib
  [jasper2] Feb 10, 2004 4:15:09 PM org.apache.jasper.JspC initClassLoader
  [jasper2] WARNING: TLD files should not be placed in /WEB-INF/lib
  [jasper2] Feb 10, 2004 4:15:09 PM org.apache.jasper.JspC initClassLoader
  [jasper2] WARNING: TLD files should not be placed in /WEB-INF/lib

BUILD FAILED
C:\Tomcat 5.0\webapps\build.xml:73: java.lang.ExceptionInInitializerError

So questions:

1) What is up with not putting tld files in the lib folder? Where is a
better location?
2) why did the build fail? And how do I fix it?

	Thanks,

Chanan Braunstein
Knovel Corp.
Web Development Manager
607-773-1840 x672
http://www.knovel.com



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org