Hello,

I was able to get the click-examples webapp to run on my local Tomcat by
putting the war file in the deploy directory and restarting Tomcat. 

Next I wanted to setup the app in Eclipse so I can step thru the code in the
debugger and learn more about how things work. Not having any success with
that. I was hoping to find some instructions on how to do that but haven't
been able to find anything in the forum or on the click site.

I would appreciate any help.

Here's my environment and what I've done:
- Eclipse 3.5.1
- Tomcat 5.5.28
- Created a Tomcat project in Eclipse
- Extracted click-2.1.0.zip file to hard drive and then:
  - Copied all files from the click-2.1.0\examples\webapp folder to the root
of my new tomcat project
  - Copied all files from the click-2.1.0\examples\src folder (except
META-INF folder) to src folder under the root of my new tomcat project
  - Copied all files from the click-2.1.0\examples\src\META-INF folder to
the root of my new tomcat project
  - Copied all jars from the WEB-INF\lib folder of the click-examples.war
file to the WEB-INF\lib folder of my tomcat project
  - Added all the jars in the project's WEB-INF\lib folder to the projects's
build path in Eclipse.

When I start tomcat I see the following (in addition to a bunch of INFO msg
that I've not included) lines in the console:
[Click] [info ] found jar:
file:/C:/all/workspace/ClickProject1/WEB-INF/lib/click-2.1.0.jar
[Click] [info ] found jar:
file:/C:/all/workspace/ClickProject1/WEB-INF/lib/click-extras-2.1.0.jar
[Click] [info ] initialized in development mode
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
Feb 28, 2010 3:49:06 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Feb 28, 2010 3:49:06 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/click-examples] startup failed due to previous errors
Feb 28, 2010 3:49:12 PM org.apache.catalina.core.ApplicationContext log


Tomcat server starts up fine. I'm able to run other apps but when I try the
click-examples webapp I get a 404.

Any help would be greatly appreciated.
-- 
View this message in context: 
http://n2.nabble.com/Trying-to-set-up-click-examples-in-Eclipse-tp4650928p4650928.html
Sent from the click-user mailing list archive at Nabble.com.

Reply via email to