I upgraded from 1.2.5 to 1.2.6 and the problem resolved itself. > -----Original Message----- > From: John Muhlestein [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 03, 2002 4:48 PM > To: '[EMAIL PROTECTED]' > Subject: Unexpected Exception launching through Ant > > > I am attempting to launch an application using Ant that I > just added logging > to and I am getting an unexpected error. > > Buildfile: build.xml > > launchGUI: > [java] java.lang.VerifyError: (class: > org/apache/log4j/LogManager, method: <clinit> signature: ()V) > Incompatible > argument to function > [java] at > org.apache.log4j.Logger.getLogger(Logger.java:85) > [java] at > com.ilink.noc.routemanager.gui.MainAppFrame.<clinit>(MainAppFr > ame.java:28) > [java] Exception in thread "main" > > BUILD SUCCESSFUL > Total time: 3 seconds > > Here is a snippet of the code to instantiate the Logger > (which is line 28 > from the above error) > static Logger logger = > Logger.getLogger("com.ilink.noc.routemanager.gui.MainAppFrame"); > > And the <target> info from my build.xml > > <target name="launchGUI"> > <java classname="com.ilink.noc.routemanager.gui.MainAppFrame" > fork="yes"> > <classpath> > <pathelement path="${env.CLASSPATH}" /> > <pathelement location="${JavaClasses}" /> > <pathelement location="${JavaLib}/xercelImpl.jar" /> > <pathelement location="${JavaLib}/xmlParserAPIs.jar" /> > <pathelement location="${JavaLib}/oraclejdbc.jar" /> > <pathelement location="${JavaLib}/log4j-1.2.5.jar" /> > </classpath> > </java> > </target> > > > Has anyone encountered this before or have any ideas? > > thanks, > John > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>