Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 1st, 2003, 07:41 AM
Authorized User
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Logging with Log4j - ERROR

I am trying to compile the file User4.java, listed on pp283-4 in Beginning JSP 2.0.

However, I cannot successfully compile, getting the error:

com\wrox\except\User4.java:3: package org.apache.log4j does not exist
import org.apache.log4j.Logger;
com\wrox\except\User4.java:4: package org.apache.log4j does not exist
import org.apache.log4j.PropertyConfigurator;

I have saved the config.properties file in the WEB-INF folder and set the classpath so:

    >set CLASSPATH=%CLASSPATH%;..\lib\log4j-1.2.7.jar

All assistance gratefully received.

Many thanks,

Reply With Quote
  #2 (permalink)  
Old October 1st, 2003, 08:42 AM
Friend of Wrox
Join Date: Jun 2003
Location: , , .
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts

Have a look at this URL, in particular the example configurations:



Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
log4j warning. and error. sureshrgsl Apache Tomcat 0 April 16th, 2007 03:08 AM
Error While logging to FileShare Application DeadZone BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 April 5th, 2007 02:28 PM
Log4j - Enable/Disable logging programmatically albinjoseph Pro Java 7 July 26th, 2006 05:15 PM
SSIS - Built-In Logging / Custom Logging ivobecker23 SQL Server 2005 0 April 21st, 2006 05:41 AM
Error Logging upbuy6am General .NET 3 October 28th, 2004 03:28 AM

All times are GMT -4. The time now is 09:46 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.