You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Sandeep <sa...@bma.gov.bh> on 2003/10/19 06:38:29 UTC

java.lang.VerifyError: ...do any one have an idea

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: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Re: java.lang.VerifyError: ...do any one have an idea

Posted by Scott Kidder <su...@sbcglobal.net>.
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 (superfurry@sbcglobal.net) |
| 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: log4j-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: log4j-user-help@jakarta.apache.org


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