On Sat, 2002-05-11 at 13:59, Ingo Etienne wrote: > Hi all, > > when trying to get a Logger instance in MyClass using: > Logger logger = Logger.getLogger(MyClass.class.getName()); > > I get this exception: > > java.lang.VerifyError: (class: org/apache/log4j/LogManager, method: <clinit> > signature: ()V) Incompatible argument to function > > at org.apache.log4j.Logger.getLogger(Logger.java:101) > at myPackage.MyClass.getInstance(MyClass.java:34) > etc... > > Has anybody an idea what went wrong ?
This sort of Exception arise when you compile your classes with one library and run them with another, You maybe be using log4J-1.X to compile and log4j-1.Y on your running eviroment ! > > Thanks > Ingo > > -- > GMX - Die Kommunikationsplattform im Internet. > http://www.gmx.net > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>