-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Cannot generate *.hbm.xml files from Middlegen
PostPosted: Wed Dec 29, 2004 10:14 am 
Newbie

Joined: Wed Dec 29, 2004 10:04 am
Posts: 1
Hello,

I am trying to generate *.hbm.xml files from my database but i get always an exception ( libray commons-collections-2.1.jar is there ).



middlegen:
[echo] Class path = D:\private\dev\MiddleGenTemplate
[middlegen] (middlegen.Middlegen 350 ) Registering plugin simple->middlegen.Plugin
[middlegen] (middlegen.Middlegen 350 ) Registering plugin java->middlegen.javax.JavaPlugin
[middlegen] (middlegen.Middlegen 350 ) Registering plugin plugin->middlegen.Plugin
[middlegen] (middlegen.Middlegen 350 ) Registering plugin hibernate->middlegen.plugins.hibernate.HibernateP
[middlegen] Database URL:jdbc:microsoft:sqlserver://localhost:1433
[middlegen] (middlegen.Middlegen 393 ) Validating hibernate
[middlegen] ********************************************************
[middlegen] * CTRL-Click relations to modify their cardinality *
[middlegen] * SHIFT-Click relations to modify their directionality *
[middlegen] ********************************************************
[middlegen] (middlegen.Middlegen 410 ) Invoking plugin hibernate
[middlegen] java.lang.NoClassDefFoundError: org/apache/commons/collections/ExtendedProperties
[middlegen] at org.apache.velocity.runtime.RuntimeInstance.<init>(RuntimeInstance.java:206)
[middlegen] at org.apache.velocity.app.VelocityEngine.<init>(VelocityEngine.java:113)
[middlegen] at middlegen.Plugin.getEngine(Plugin.java:547)
[middlegen] at middlegen.Plugin.generate(Plugin.java:444)
[middlegen] at middlegen.Middlegen.writeSource(Middlegen.java:411)
[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)




Thank you


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.