Hi , When i removed log4j jar file from my WEB-INF/lib ... i am getting this error ... that mean application is not able to find classes .....
java.lang.NoClassDefFoundError: org/apache/log4j/Logger what can be the problem now ................ TIA Note ************************************************************************ This email including any attachments is intended solely for the use of named recipient only.If you are not that person, you are not authorized to read,copy,forward,disclose,take any action on information.Any other use of this email and attachments is prohibited.The views expressed in this email are not necessarily those of BMA.If you received this email by mistake, please destroy all copies and contact to the sender by email.your cooperation is appreciated. **************************************************************************** ********* -----Original Message----- From: Sandeep Sent: Sunday, October 19, 2003 8:07 AM To: 'Log4J Users List' Subject: RE: java.lang.VerifyError: ...do any one have an idea Hi Scott, Thanks for answer ..... and i know u r correct as i also found same .... iam using 9ias which has oc4j ... container .... i have log4j jar file with my application WEb-INF/lib ... it works well on windows but when web application deployed on unix it is giving this error ... that to i found that ...there is a copy of log 4j jar of older version ... let me try now to remove one of it ...... TIA Note ************************************************************************ This email including any attachments is intended solely for the use of named recipient only.If you are not that person, you are not authorized to read,copy,forward,disclose,take any action on information.Any other use of this email and attachments is prohibited.The views expressed in this email are not necessarily those of BMA.If you received this email by mistake, please destroy all copies and contact to the sender by email.your cooperation is appreciated. **************************************************************************** ********* -----Original Message----- From: Scott Kidder [mailto:[EMAIL PROTECTED] Sent: Sunday, October 19, 2003 7:57 AM To: Log4J Users List Subject: Re: java.lang.VerifyError: ...do any one have an idea What Servlet container are you using? There may be a version of Log4j at the container level that is conflicting with the Log4j jar you've got bundled with your app in WEB-INF/lib. If so, you may want to replace one or the other so they have matching versions, worth trying. Here's the description for java.lang.VerifyError from the Java SDK 1.3.1 API: "Thrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem." -- +-----------------------------------------+ | Scott Kidder ([EMAIL PROTECTED]) | | http://orbital.homeip.net/ | | Software Engineer | | Independent Contractor, Santa Cruz, CA | +-----------------------------------------+ On Sat, 2003-10-18 at 21:38, Sandeep wrote: > iam getting this error when trying to run a jsp do any one have idea > > ---------------------------- > java.lang.VerifyError: org/apache/log4j/LogManager > at org.apache.log4j.Logger.getLogger(java.lang.String) > (Logger.java:85) (pc 1) > ----------------------------- > > > > > jsp code > > <%! > > // Logger logger=Logger.getLogger("com.foo"); > private static Logger log = Logger.getRootLogger(); > %> > > > > TIA > > > > > Note > ************************************************************************ > > This email including any attachments is intended solely for the use of named > recipient only.If you are not that person, you are not authorized to > read,copy,forward,disclose,take any action on information.Any other use of > this email and attachments is prohibited.The views expressed in this email > are not necessarily those of BMA.If you received this email by mistake, > please destroy all copies and contact to the sender by email.your > cooperation is appreciated. > > **************************************************************************** > ********* > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
