ok, i removed it that jar. Now it loads from commons-loggin-1.0.4.jar. But i still get the problem. Here is output:
Code:
Apache Ant version 1.6.2 compiled on September 28 2004
Buildfile: build3.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.4 in: /usr/lib/j2sdk1.4-sun/jre
Detected OS: Linux
Adding reference: ant.ComponentHelper
Setting ro project property: ant.version -> Apache Ant version 1.6.2 compiled on September 28 2004
Setting ro project property: ant.file -> /home/zdennis/hibernate/build3.xml
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile /home/zdennis/hibernate/build3.xml with URI = file:///home/zdennis/hibernate/build3.xml
Setting ro project property: ant.project.name -> test
Adding reference: test
Setting ro project property: ant.file.test -> /home/zdennis/hibernate/build3.xml
Project base dir set to: /home/zdennis/hibernate
+Target:
Adding reference: project.class.path
+Target: build
Adding reference: id
+Target: compile
Setting project property: base.dir -> .
Setting project property: src.dir -> ./src
Setting project property: build.dir -> ./build
Setting project property: hibernate_path -> /home/zdennis/hibernate-3.0
Setting project property: hibernate_jar -> /home/zdennis/hibernate-3.0/hibernate3.jar
Setting project property: hibernate_tools_path -> /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3
Setting project property: hibernate_tools_jar -> /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/hibernate-tools.jar
Could not load class (org.apache.tools.ant.taskdefs.optional.image.Image) for type image
Could not load class (org.apache.tools.ant.taskdefs.optional.ssh.SSHExec) for type sshexec
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.WLRun) for type wlrun
Could not load class (org.apache.tools.ant.taskdefs.optional.IContract) for type icontract
Could not load class (org.apache.tools.ant.taskdefs.optional.ssh.Scp) for type scp
Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJLoadProjects) for type vajload
Adding reference: project.class.path
Build sequence for target `build' is [build]
Complete build sequence is [build, compile, ]
build:
Could not load class (org.apache.tools.ant.taskdefs.optional.image.Image) for type image
Could not load class (org.apache.tools.ant.taskdefs.optional.ssh.SSHExec) for type sshexec
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.WLRun) for type wlrun
Could not load class (org.apache.tools.ant.taskdefs.optional.IContract) for type icontract
Could not load class (org.apache.tools.ant.taskdefs.optional.ssh.Scp) for type scp
Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJLoadProjects) for type vajload
Could not load class (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion) for type cvsversion
Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.StarTeamList) for type stlist
Could not load class (org.apache.tools.ant.taskdefs.optional.NetRexxC) for type netrexxc
Could not load class (org.apache.tools.ant.taskdefs.optional.scm.AntStarTeamCheckOut) for type starteam
Could not load class (org.apache.tools.ant.taskdefs.optional.StyleBook) for type stylebook
Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel) for type stlabel
Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckin) for type stcheckin
Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJExport) for type vajexport
Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckout) for type stcheckout
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.Ejbc) for type ejbc
Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJImport) for type vajimport
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.WLStop) for type wlstop
Could not load class (org.apache.tools.ant.taskdefs.optional.sound.SoundTask) for type sound
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.DDCreator) for type ddcreator
fileset: Setup scanner in dir /home/zdennis/hibernate-3.0/lib with patternSet{ includes: [**/*.jar] excludes: [] }
fileset: Setup scanner in dir /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/lib with patternSet{ includes: [**/*.jar] excludes: [] }
Finding class org.hibernate.tool.ant.HibernateToolTask
Loaded from /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/hibernate-tools.jar org/hibernate/tool/ant/HibernateToolTask.class
Class org.apache.tools.ant.Task loaded from parent loader (parentFirst)
Class org.hibernate.tool.ant.HibernateToolTask loaded from ant loader (parentFirst)
Class java.lang.Object loaded from parent loader (parentFirst)
Finding class org.hibernate.tool.ant.GeneratorTask
Loaded from /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/hibernate-tools.jar org/hibernate/tool/ant/GeneratorTask.class
Class org.hibernate.tool.ant.GeneratorTask loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.ant.Cfg2HbmGeneratorTask
Loaded from /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/hibernate-tools.jar org/hibernate/tool/ant/Cfg2HbmGeneratorTask.class
Class org.hibernate.tool.ant.Cfg2HbmGeneratorTask loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.ant.Hbm2JavaGeneratorTask
Loaded from /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/hibernate-tools.jar org/hibernate/tool/ant/Hbm2JavaGeneratorTask.class
Class org.hibernate.tool.ant.Hbm2JavaGeneratorTask loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.ant.Hbm2DDLGeneratorTask
Loaded from /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/hibernate-tools.jar org/hibernate/tool/ant/Hbm2DDLGeneratorTask.class
Class org.hibernate.tool.ant.Hbm2DDLGeneratorTask loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.ant.ConfigurationTask
Loaded from /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/hibernate-tools.jar org/hibernate/tool/ant/ConfigurationTask.class
Class org.hibernate.tool.ant.ConfigurationTask loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.ant.AnnotationConfigurationTask
Loaded from /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/hibernate-tools.jar org/hibernate/tool/ant/AnnotationConfigurationTask.class
Class org.hibernate.tool.ant.AnnotationConfigurationTask loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.ant.JDBCConfigurationTask
Loaded from /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/hibernate-tools.jar org/hibernate/tool/ant/JDBCConfigurationTask.class
Class org.hibernate.tool.ant.JDBCConfigurationTask loaded from ant loader (parentFirst)
Class java.lang.Throwable loaded from parent loader (parentFirst)
Class org.apache.tools.ant.BuildException loaded from parent loader (parentFirst)
Class java.util.List loaded from parent loader (parentFirst)
+Datatype hibernatetool org.hibernate.tool.ant.HibernateToolTask
Class java.util.ArrayList loaded from parent loader (parentFirst)
Class org.apache.tools.ant.types.Path loaded from parent loader (parentFirst)
Class java.io.File loaded from parent loader (parentFirst)
Finding class org.hibernate.cfg.Configuration
Loaded from /home/zdennis/hibernate-3.0/hibernate3.jar org/hibernate/cfg/Configuration.class
Class java.io.Serializable loaded from parent loader (parentFirst)
Class org.hibernate.cfg.Configuration loaded from ant loader (parentFirst)
Finding class org.hibernate.HibernateException
Loaded from /home/zdennis/hibernate-3.0/hibernate3.jar org/hibernate/HibernateException.class
Finding class org.hibernate.exception.NestableRuntimeException
Loaded from /home/zdennis/hibernate-3.0/hibernate3.jar org/hibernate/exception/NestableRuntimeException.class
Class java.lang.RuntimeException loaded from parent loader (parentFirst)
Finding class org.hibernate.exception.Nestable
Loaded from /home/zdennis/hibernate-3.0/hibernate3.jar org/hibernate/exception/Nestable.class
Class org.hibernate.exception.Nestable loaded from ant loader (parentFirst)
Class org.hibernate.exception.NestableRuntimeException loaded from ant loader (parentFirst)
Class org.hibernate.HibernateException loaded from ant loader (parentFirst)
Class java.io.IOException loaded from parent loader (parentFirst)
Class java.io.FileNotFoundException loaded from parent loader (parentFirst)
Class java.io.InputStream loaded from parent loader (parentFirst)
Class java.io.FileInputStream loaded from parent loader (parentFirst)
Class org.apache.tools.ant.types.FileSet loaded from parent loader (parentFirst)
Finding class org.hibernate.tool.hbm2x.Exporter
Loaded from /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/hibernate-tools.jar org/hibernate/tool/hbm2x/Exporter.class
Class org.hibernate.tool.hbm2x.Exporter loaded from ant loader (parentFirst)
Class java.lang.String loaded from parent loader (parentFirst)
Could not load class (org.apache.tools.ant.taskdefs.optional.image.Image) for type image
Could not load class (org.apache.tools.ant.taskdefs.optional.ssh.SSHExec) for type sshexec
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.WLRun) for type wlrun
Could not load class (org.apache.tools.ant.taskdefs.optional.IContract) for type icontract
Could not load class (org.apache.tools.ant.taskdefs.optional.ssh.Scp) for type scp
Adding reference: id
Class java.util.Iterator loaded from parent loader (parentFirst)
Class org.apache.tools.ant.Project loaded from parent loader (parentFirst)
Could not load class (org.apache.tools.ant.taskdefs.optional.image.Image) for type image
Could not load class (org.apache.tools.ant.taskdefs.optional.ssh.SSHExec) for type sshexec
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.WLRun) for type wlrun
Could not load class (org.apache.tools.ant.taskdefs.optional.IContract) for type icontract
Could not load class (org.apache.tools.ant.taskdefs.optional.ssh.Scp) for type scp
Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJLoadProjects) for type vajload
Could not load class (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion) for type cvsversion
Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.StarTeamList) for type stlist
Could not load class (org.apache.tools.ant.taskdefs.optional.NetRexxC) for type netrexxc
Could not load class (org.apache.tools.ant.taskdefs.optional.scm.AntStarTeamCheckOut) for type starteam
Could not load class (org.apache.tools.ant.taskdefs.optional.StyleBook) for type stylebook
Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel) for type stlabel
Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckin) for type stcheckin
Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJExport) for type vajexport
Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckout) for type stcheckout
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.Ejbc) for type ejbc
Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJImport) for type vajimport
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.WLStop) for type wlstop
Could not load class (org.apache.tools.ant.taskdefs.optional.sound.SoundTask) for type sound
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.DDCreator) for type ddcreator
fileset: Setup scanner in dir /home/zdennis/hibernate-3.0/lib with patternSet{ includes: [**/*.jar] excludes: [] }
fileset: Setup scanner in dir /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/lib with patternSet{ includes: [**/*.jar] excludes: [] }
Class org.apache.tools.ant.AntClassLoader loaded from parent loader (parentFirst)
Class java.lang.StringBuffer loaded from parent loader (parentFirst)
[hibernatetool] 1. task: hbm2java (Generates a set of .java files)
Finding class org.hibernate.tool.hbm2x.ConfigurationNavigator
Loaded from /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/hibernate-tools.jar org/hibernate/tool/hbm2x/ConfigurationNavigator.class
Class org.hibernate.tool.hbm2x.ConfigurationNavigator loaded from ant loader (parentFirst)
Class java.lang.ClassNotFoundException loaded from parent loader (parentFirst)
Class java.util.Map loaded from parent loader (parentFirst)
Class java.lang.Class loaded from parent loader (parentFirst)
Finding class org.hibernate.tool.hbm2x.POJOExporter
Loaded from /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/hibernate-tools.jar org/hibernate/tool/hbm2x/POJOExporter.class
Finding class org.hibernate.tool.hbm2x.AbstractExporter
Loaded from /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/hibernate-tools.jar org/hibernate/tool/hbm2x/AbstractExporter.class
Class org.hibernate.tool.hbm2x.AbstractExporter loaded from ant loader (parentFirst)
Class org.hibernate.tool.hbm2x.POJOExporter loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.hbm2x.ExporterException
Loaded from /home/zdennis/hibernate-extensions3/tools/target/hibernate-tools-3.0.0alpha3/hibernate-tools.jar org/hibernate/tool/hbm2x/ExporterException.class
Class org.hibernate.tool.hbm2x.ExporterException loaded from ant loader (parentFirst)
Class java.lang.Exception loaded from parent loader (parentFirst)
Class java.io.Writer loaded from parent loader (parentFirst)
Class java.io.StringWriter loaded from parent loader (parentFirst)
Class java.io.FileWriter loaded from parent loader (parentFirst)
Finding class org.apache.commons.logging.LogFactory
Loaded from /home/zdennis/hibernate-3.0/lib/commons-logging-1.0.4.jar org/apache/commons/logging/LogFactory.class
Class org.apache.commons.logging.LogFactory loaded from ant loader (parentFirst)
Class java.security.PrivilegedAction loaded from parent loader (parentFirst)
Finding class org.apache.commons.logging.LogConfigurationException
Loaded from /home/zdennis/hibernate-3.0/lib/commons-logging-1.0.4.jar org/apache/commons/logging/LogConfigurationException.class
Class org.apache.commons.logging.LogConfigurationException loaded from ant loader (parentFirst)
Class java.io.UnsupportedEncodingException loaded from parent loader (parentFirst)
Class java.lang.SecurityException loaded from parent loader (parentFirst)
Class java.io.Reader loaded from parent loader (parentFirst)
Class java.io.InputStreamReader loaded from parent loader (parentFirst)
Class java.lang.NoSuchMethodException loaded from parent loader (parentFirst)
Class java.lang.reflect.InvocationTargetException loaded from parent loader (parentFirst)
Class java.lang.IllegalAccessException loaded from parent loader (parentFirst)
Class java.lang.reflect.Method loaded from parent loader (parentFirst)
Class java.lang.NoClassDefFoundError loaded from parent loader (parentFirst)
Class java.util.Hashtable loaded from parent loader (parentFirst)
Finding class org.apache.commons.logging.LogFactory$1
Loaded from /home/zdennis/hibernate-3.0/lib/commons-logging-1.0.4.jar org/apache/commons/logging/LogFactory$1.class
Class org.apache.commons.logging.LogFactory$1 loaded from ant loader (parentFirst)
Class java.security.AccessController loaded from parent loader (parentFirst)
Class java.lang.Thread loaded from parent loader (parentFirst)
Class java.lang.ClassLoader loaded from parent loader (parentFirst)
Finding class org.apache.commons.logging.LogFactory$3
Loaded from /home/zdennis/hibernate-3.0/lib/commons-logging-1.0.4.jar org/apache/commons/logging/LogFactory$3.class
Class org.apache.commons.logging.LogFactory$3 loaded from ant loader (parentFirst)
Couldn't load ResourceStream for commons-logging.properties
Class java.lang.System loaded from parent loader (parentFirst)
Couldn't load ResourceStream for META-INF/services/org.apache.commons.logging.LogFactory
Finding class org.apache.commons.logging.LogFactory$2
Loaded from /home/zdennis/hibernate-3.0/lib/commons-logging-1.0.4.jar org/apache/commons/logging/LogFactory$2.class
Class org.apache.commons.logging.LogFactory$2 loaded from ant loader (parentFirst)
Class java.lang.ClassCastException loaded from parent loader (parentFirst)
Finding class org.apache.commons.logging.impl.LogFactoryImpl
Loaded from /home/zdennis/hibernate-3.0/lib/commons-logging-1.0.4.jar org/apache/commons/logging/impl/LogFactoryImpl.class
Class org.apache.commons.logging.impl.LogFactoryImpl loaded from ant loader (parentFirst)
Finding class org.apache.commons.logging.impl.LogFactoryImpl$1
Loaded from /home/zdennis/hibernate-3.0/lib/commons-logging-1.0.4.jar org/apache/commons/logging/impl/LogFactoryImpl$1.class
Class org.apache.commons.logging.impl.LogFactoryImpl$1 loaded from ant loader (parentFirst)
Finding class org.apache.log4j.Logger
Loaded from /home/zdennis/hibernate-3.0/lib/log4j-1.2.9.jar org/apache/log4j/Logger.class
Finding class org.apache.log4j.Category
Loaded from /home/zdennis/hibernate-3.0/lib/log4j-1.2.9.jar org/apache/log4j/Category.class
Class java.lang.Object loaded from parent loader (parentFirst)
Finding class org.apache.log4j.spi.AppenderAttachable
Loaded from /home/zdennis/hibernate-3.0/lib/log4j-1.2.9.jar org/apache/log4j/spi/AppenderAttachable.class
Class org.apache.log4j.spi.AppenderAttachable loaded from ant loader (parentFirst)
Class org.apache.log4j.Category loaded from ant loader (parentFirst)
Class org.apache.log4j.Logger loaded from ant loader (parentFirst)
Finding class org.apache.commons.logging.impl.Log4JLogger
Loaded from /home/zdennis/hibernate-3.0/lib/commons-logging-1.0.4.jar org/apache/commons/logging/impl/Log4JLogger.class
Finding class org.apache.commons.logging.Log
Loaded from /home/zdennis/hibernate-3.0/lib/commons-logging-1.0.4.jar org/apache/commons/logging/Log.class
Class org.apache.commons.logging.Log loaded from ant loader (parentFirst)
Class java.io.Serializable loaded from parent loader (parentFirst)
Class org.apache.commons.logging.impl.Log4JLogger loaded from ant loader (parentFirst)
Finding class org.apache.commons.logging.Log
Loaded from /home/zdennis/hibernate-3.0/lib/commons-logging-1.0.4.jar org/apache/commons/logging/Log.class
Class org.apache.commons.logging.Log loaded from ant loader (parentFirst)
BUILD FAILED
java.lang.ExceptionInInitializerError
at org.apache.tools.ant.Project.executeTarget(Project.java:1223)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at org.hibernate.tool.hbm2x.ConfigurationNavigator.class$(ConfigurationNavigator.java:22)
at org.hibernate.tool.hbm2x.ConfigurationNavigator.<clinit>(ConfigurationNavigator.java:22)
at org.hibernate.tool.ant.Hbm2JavaGeneratorTask.execute(Hbm2JavaGeneratorTask.java:36)
at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
... 5 more
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.) (Caused by org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.hibernate.tool.hbm2x.POJOExporter.<clinit>(POJOExporter.java:23)
... 16 more
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 20 more
Caused by: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:385)
... 21 more
--- Nested Exception ---
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at org.hibernate.tool.hbm2x.ConfigurationNavigator.class$(ConfigurationNavigator.java:22)
at org.hibernate.tool.hbm2x.ConfigurationNavigator.<clinit>(ConfigurationNavigator.java:22)
at org.hibernate.tool.ant.Hbm2JavaGeneratorTask.execute(Hbm2JavaGeneratorTask.java:36)
at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.) (Caused by org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.hibernate.tool.hbm2x.POJOExporter.<clinit>(POJOExporter.java:23)
... 16 more
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 20 more
Caused by: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:385)
... 21 more
Total time: 2 seconds
I saw the error saying that I have more then one apache.commons.logging.LogConfigurationException. On my whole computer I have only 3 jars that include this file. And only one of those jars is in my classpath. Any ideas?
Zach