Regular |
|
Joined: Wed Jan 19, 2005 4:52 pm Posts: 61 Location: Kansas City, USA
|
I am trying to generate mappings using middlegen and I am getting this error message when I click generate "middlegen.MiddlegenException:middlegen.DontCloseLog4JLogSystem. Any help would be greatly appriciated. I am using hibernate 2.1 with the middlegen2.1 plugin, connecting to a m$$ql server database. Here is the log that i generate in ant:
[middlegen] java.lang.ClassNotFoundException: middlegen.DontCloseLog4JLogSystem
[middlegen] at org.eclipse.ant.internal.core.AntClassLoader.findClass(AntClassLoader.java:42)
[middlegen] at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
[middlegen] at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
[middlegen] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
[middlegen] at java.lang.Class.forName0(Native Method)
[middlegen] at java.lang.Class.forName(Class.java:141)
[middlegen] at org.apache.velocity.runtime.log.LogManager.createLogSystem(LogManager.java:161)
[middlegen] at org.apache.velocity.runtime.RuntimeInstance.initializeLogger(RuntimeInstance.java:533)
[middlegen] at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:267)
[middlegen] at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:441)
[middlegen] at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:148)
[middlegen] at middlegen.Plugin.getEngine(Plugin.java:560)
[middlegen] at middlegen.Plugin.generate(Plugin.java:444)
[middlegen] at middlegen.Middlegen.writeSource(Middlegen.java:415)
[middlegen] at middlegen.swing.JMiddlegenFrame$1.actionPerformed(JMiddlegenFrame.java:72)
[middlegen] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
[middlegen] at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
[middlegen] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
[middlegen] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
[middlegen] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
[middlegen] at java.awt.Component.processMouseEvent(Component.java:5100)
[middlegen] at java.awt.Component.processEvent(Component.java:4897)
[middlegen] at java.awt.Container.processEvent(Container.java:1569)
[middlegen] at java.awt.Component.dispatchEventImpl(Component.java:3615)
[middlegen] at java.awt.Container.dispatchEventImpl(Container.java:1627)
[middlegen] at java.awt.Component.dispatchEvent(Component.java:3477)
[middlegen] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
[middlegen] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
[middlegen] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
[middlegen] at java.awt.Container.dispatchEventImpl(Container.java:1613)
[middlegen] at java.awt.Window.dispatchEventImpl(Window.java:1606)
[middlegen] at java.awt.Component.dispatchEvent(Component.java:3477)
[middlegen] at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
[middlegen] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
[middlegen] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
[middlegen] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
[middlegen] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
[middlegen] at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Thanks to all
|
|