CFEclipse and springSource Tool Suite 2.5.2

26 views
Skip to first unread message

Richard

unread,
Jan 17, 2011, 5:33:58 AM1/17/11
to CFEclipse Users
Hi.

I use CFEclipse under springSource Tool Suite. I've just upgraded the
Tool Suite from 2.5.1 to 2.5.2 and with it to CFEclipse version
1.4.4.201012220425.

Now my .cfm and .cfc pages cannot be opened.
They return:
Could not open the editor: Editor could not be initialized.
java.lang.UnsupportedClassVersionError: Bad version number in .class
file

Does anyone have a suggestion on how I can fix this, please?

Thanks for any advice.

Regards,

Richard

Full error:
java.lang.UnsupportedClassVersionError: Bad version number in .class
file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:
188)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:
580)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:
550)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:
481)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:
469)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:
449)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:
216)
at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:
393)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:
469)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
422)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
410)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:
107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at
org.cfeclipse.cfml.editors.ICFDocument.setParserResource(ICFDocument.java:
263)
at
org.cfeclipse.cfml.editors.CFDocumentProvider.createDocument(CFDocumentProvider.java:
138)
at
org.eclipse.ui.editors.text.FileDocumentProvider.createElementInfo(FileDocumentProvider.java:
735)
at
org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:
400)
at
org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:
4056)
at
org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:
217)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:
1444)
at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:
169)
at org.eclipse.ui.texteditor.AbstractTextEditor
$19.run(AbstractTextEditor.java:3043)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:
464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:
372)
at org.eclipse.jface.window.ApplicationWindow
$1.run(ApplicationWindow.java:759)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:
70)
at
org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:
756)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:
2600)
at
org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:
3061)
at
org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:
3088)
at
org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:
798)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:
647)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:
465)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:
595)
at
org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:
271)
at
org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:
1429)
at org.eclipse.ui.internal.EditorManager
$5.runWithException(EditorManager.java:942)
at org.eclipse.ui.internal.StartupThreading
$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:
134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:
4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:
803)
at org.eclipse.ui.internal.Workbench
$31.runWithException(Workbench.java:1567)
at org.eclipse.ui.internal.StartupThreading
$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:
134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:
4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:
115)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:
79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
369)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

denstar

unread,
Jan 17, 2011, 6:03:14 PM1/17/11
to cfeclip...@googlegroups.com
Can you upgrade your JVM to java 1.6?

When I get a chance I'll look into compiling the sources with 1.5, as
it should work, but honestly, 1.5 has been deprecated to the point
where it's neigh impossible to get on OS X. Which really points out
how sucky OS X can be, but regardless.... we want to make contributing
to CFE easy, and requiring a 1.5 version of java for building just
doesn't strike me as a good idea.

I think the only way I'll look into it, honestly, is if I get the
automated builds going, as then it's no skin off anyone's back.

:Den

--
Every man has a right to risk his own life for the preservation of it.
Jean Jacques Rousseau

> --
> For more information on CFEclipse visit: cfeclipse.org
> For support, FAQ and tips and tricks visit: trac.cfeclipse.org
>
> You are subscribed to the Google Groups "CFEclipse Users" group.
> To post send email to: cfeclip...@googlegroups.com
> To unsubscribe send email to: cfeclipse-use...@googlegroups.com
> For more options, visit this group online: http://groups.google.com/group/cfeclipse-users?hl=en

Richard East

unread,
Jan 18, 2011, 5:05:00 AM1/18/11
to cfeclip...@googlegroups.com

As far as I can tell I'm using 1.6. Where would check?

This transmission is strictly confidential, possibly legally privileged, and intended solely for the addressee. Any views or opinions expressed within it are those of the author and do not necessarily represent those of 192.com, i-CD Publishing (UK) Ltd or any of it's subsidiary companies. If you are not the intended recipient then you must not disclose, copy or take any action in reliance of this transmission. If you have received this transmission in error, please notify the sender as soon as possible. No employee or agent is authorised to conclude any binding agreement on behalf of i-CD Publishing (UK) Ltd with another party by email without express written confirmation by an authorised employee of the Company. http://www.192.com (Tel: 08000 192 192).
i-CD Publishing (UK) Ltd is incorporated in England and Wales, company number 3148549, VAT No. GB 673128728.

denstar

unread,
Jan 18, 2011, 12:23:06 PM1/18/11
to cfeclip...@googlegroups.com
On Tue, Jan 18, 2011 at 3:05 AM, Richard East wrote:
>
> As far as I can tell I'm using 1.6. Where would check?
>

Help > About Eclipse > Installation Details > Configuration

The "About Eclipse" may also be under an "Eclipse" toolbar, depending on os.

There should be a java.version property that lists the version of Java
Eclipse is using.

:Den

--
Free people, remember this maxim: we may acquire liberty, but it is
never recovered if it is once lost.
Jean Jacques Rousseau

Richard East

unread,
Jan 19, 2011, 4:39:34 AM1/19/11
to cfeclip...@googlegroups.com

Den,

Thank you. I was on 1.5. I've changed my ini file and it's working again.

Thanks to everyone's help,

Richard


-----Original Message-----
From: cfeclip...@googlegroups.com [mailto:cfeclip...@googlegroups.com] On Behalf Of denstar
Sent: 18 January 2011 17:23
To: cfeclip...@googlegroups.com
Subject: Re: [cfeclipse-users] CFEclipse and springSource Tool Suite 2.5.2

denstar

unread,
Jan 19, 2011, 11:54:45 AM1/19/11
to cfeclip...@googlegroups.com
Excellent!

:Den

--
I have always said and felt that true enjoyment can not be described.
Jean Jacques Rousseau

Reply all
Reply to author
Forward
0 new messages