Build 8664 - ibatis plugin

I'm seeing this. Any ideas on how to fix?

2008-08-12 12:53:37,565 ERROR - ij.components.ComponentManager -
com.intellij.diagnostic.PluginException: Bad version number in .class file
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:34)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:36)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$100(ComponentManagerImpl.java:
17)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:98)
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:87)
at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:10)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:210)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:44)
at com.intellij.idea.MainImpl$3.run(MainImpl.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:44)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:42)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:224)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.lang.ClassLoader.defineClass(ClassLoader.java:520)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:119)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:115)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:91)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:77)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:41)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:47)
... 18 more

4 comments
Comment actions Permalink

Do you use JDK 1.5 as IntelliJ IDEA's JVM? Now the iBATIS plugin use jdk 1.6 for compile, and I will update new version with jdk 1.5 compiled.

0
Comment actions Permalink

That's correct I'm using JDK 1.5 as the JVM for IDEA? Should I be using 1.6?

Neil

0
Comment actions Permalink

Please use jdk 1.6 as IntelliJ's JVM and try.

0
Comment actions Permalink

It does work with JDK 1.6 however it seems the Intelij 8 Milestone 1 works better on the Mac with JDK 1.5 -- would it be possible to make the ibatis plugin work with the JDK 1.5?

Thanks,

Neil

0

Please sign in to leave a comment.