Log4J error

This may be offtopic (sorry), but I thought it could be an issue with IDEA that someone else has seen before, so I thought I'd ask.

I'm trying to use Log4J, version 1.2.8. I made a global library with the jar, source, and docs. In one project, I created the following class:

It works fine. I then copied it to another project that uses the same global library. When I run it fromt that project, I get:

 signature: ()V) Incompatible argument to function
	at org.apache.log4j.Logger.getLogger(Logger.java:94)
	at bleh.(bleh.java:6)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:164)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:75)]]>

I'm using jdk 1.5.0 beta 2 for both project. Has anyone seen this problem with IDEA before? Thanks.

Tobin

Please sign in to leave a comment.