[ANN] Hibero 1.3 - Hibernate plug-in
Beto Software announces the release of Hibero 1.3, the latest version of the company's Hibernate plug-in for IntelliJ IDEA.
The main new features in Hibero 1.3 include:
HQL Editor with syntax highlighting and braces matcher.
HQL Query Execution.
Dynamic HQL Query Translation to SQL.
Auto-discovery of HQL parameters.
Inline HQL parameter editor.
Show HQL parameter info.
Autoscroll from/to parameter.
Quick HQL Edition.
Quick HQL Translation.
Quick HQL Execution.
Hibernate Log Console.
Create HQL file intention for Java string literals and named queries.
Multiple Hibernate Configuration Profiles.
Global resolution of type and filter definitions.
Also included in this release are additional bug fixes. Details about new features and enhancements are available on-line on the Hibero's web site at http://www.hibero.com/.
The Hibero 1.3 upgrade is available free of charge to registered users of Hibero 1.x via download from http://www.betosoftware.com/hibero/download.html or IDEA Plugin Manager.
Free 30 day fully-functional trial licenses are also available at http://www.betosoftware.com/hibero/license/.
Beto Software, S.L.
http://www.betosoftware.com/
请先登录再写评论。
I couldn't update Hibero via the plugin manager. So I downloaded it and upgraded manually.
Now I always get the following exception with Hibero under #5261.
The only other non standard plugins installed are SQL-Query, IdeaSpring and MetricsReloaded.
IdeaSpring contains a commons-logging and my project itself has it also (You need it when using Hibernate).
No message
java.lang.ExceptionInInitializerError
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
at java.lang.reflect.Field.getFieldAccessor(Field.java:898)
at java.lang.reflect.Field.get(Field.java:357)
at com.betosoftware.hibero.n.p.a(p.java:11)
at com.betosoftware.hibero.jb.e(jb.java:11)
at com.betosoftware.hibero.jb.a(jb.java:54)
at com.betosoftware.hibero.hb.stateChanged(hb.java:4)
at com.betosoftware.hibero.x.e(x.java:3)
at com.betosoftware.hibero.x.projectOpened(x.java:21)
at com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:141)
at com.intellij.openapi.project.impl.ProjectImpl.access$200(ProjectImpl.java:149)
at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:5)
at com.intellij.openapi.project.impl.ProjectManagerImpl$1.projectOpened(ProjectManagerImpl.java:5)
at com.intellij.openapi.project.impl.ProjectManagerImpl.d(ProjectManagerImpl.java:105)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:156)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:97)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:16)
at com.intellij.idea.IdeaApplication.c(IdeaApplication.java:16)
at com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:20)
at com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:5)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:0)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:79)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:50)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:53)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
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.cfg.Environment.(Environment.java:463) ... 34 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) ... 38 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) ... 39 more 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.cfg.Environment.]]>(Environment.java:463)
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
at java.lang.reflect.Field.getFieldAccessor(Field.java:898)
at java.lang.reflect.Field.get(Field.java:357)
at com.betosoftware.hibero.n.p.a(p.java:11)
at com.betosoftware.hibero.jb.e(jb.java:11)
at com.betosoftware.hibero.jb.a(jb.java:54)
at com.betosoftware.hibero.hb.stateChanged(hb.java:4)
at com.betosoftware.hibero.x.e(x.java:3)
at com.betosoftware.hibero.x.projectOpened(x.java:21)
at com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:141)
at com.intellij.openapi.project.impl.ProjectImpl.access$200(ProjectImpl.java:149)
at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:5)
at com.intellij.openapi.project.impl.ProjectManagerImpl$1.projectOpened(ProjectManagerImpl.java:5)
at com.intellij.openapi.project.impl.ProjectManagerImpl.d(ProjectManagerImpl.java:105)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:156)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:97)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:16)
at com.intellij.idea.IdeaApplication.c(IdeaApplication.java:16)
at com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:20)
at com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:5)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:0)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:79)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:50)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:53)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
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)
... 38 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)
... 39 more
This is because Hibero's plugin.xml states <idea-version since-build="3461" until-build="4999"/>. Hibero has not been tested in Demetra and thus is not supported.
However the problem doesn't seem related to Demetra. Could you please provide a list of your project classpath libraries?
Preferably use our support email address support@betosoftware.com to don't generate too much traffic in this forum.
Thanks.
Robert,
Please replace IdeaSpring/lib/commons-logging-1.0.4.jar by \lib\rt\jasper2\commons-logging-api.jar>]]>, it should fixes the problem.
commons-logging-1.0.4.jar will be replaced by commons-logging-api.jar in next releases.
Maurice
That seems to fix it. Thanks.
Uhh, when will Hibero officially support Demetra?
Once IDEA 6 is released (i.e., no EAP versions supported).
We'll change the creation of the class loader to allow the including of only one commons-logging.
Hi,
Do you have any news now that IDEA 6 is out?
Thanks!
Hibero 2.0 for IDEA 6 will be released this week.
Excellent!