facebook

Unable to open Spring Context Files

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #245687 Reply

    tfe
    Member

    Hi,

    while opening Spring Context Files I get the following errors:

    An exception stack trace is not available.

    and

    java.lang.NoClassDefFoundError: org/eclipse/jface/text/DocumentCommandAdapter
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.defineClass(DefaultClassLoader.java:370)
    at org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineClass(EclipseClassLoader.java:233)
    at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findClassImpl(DefaultClassLoader.java:343)
    at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findClass(DefaultClassLoader.java:235)
    at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.findLocalClass(AbstractClassLoader.java:183)
    at org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFindLocalClass(EclipseClassLoader.java:141)
    at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:68)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
    at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at com.ibm.sse.editor.StructuredTextEditor.createStructedTextViewer(StructuredTextEditor.java:990)
    at com.ibm.sse.editor.StructuredTextEditor.createSourceViewer(StructuredTextEditor.java:955)
    at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2513)
    at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
    at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:314)
    at com.ibm.sse.editor.StructuredTextEditor.createPartControl(StructuredTextEditor.java:880)
    at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:155)
    at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:132)
    at com.ibm.xmleditor.internal.XMLMultiPageEditorPart.addSourcePage(XMLMultiPageEditorPart.java:161)
    at com.ibm.xmleditor.internal.XMLMultiPageEditorPart.createPages(XMLMultiPageEditorPart.java:217)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:609)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2362)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295)
    at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)
    at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:279)
    at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:271)
    at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:178)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)

    The file content is never shown in the opened editor window (no reaction on mouse clicks).

    My system information is:

    eclipse.buildId=M20060118-1600
    java.version=1.5.0_06
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
    Command-line arguments: -os win32 -ws win32 -arch x86

    Any help is appreciated.

    Many thanks and best regards,
    tfe

    #245691 Reply

    Scott Anderson
    Participant

    tfe,

    I tried to replicate this issue with an Eclipse 3.1.2 installe with MyEclipse 4.1 GA on Windows XP and could not find a problem when opening any Spring configuration files. For a first cut I’d try restarting Eclipse with -clean (eclipse.exe -clean) one time to see if rebuilding the plugin cache solves the issue. If that does not, can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine what the issue might be.

    #245726 Reply

    tfe
    Member

    Hi Scott,

    the start option -clean does not fix the problem. My configuration details:

    *** Date: Tue Jan 31 10:21:57 CET 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_06

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.1.0 GA
    Build id: 20060122-4.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Platform

    Version: 3.1.1
    Build id: M20060118-1600

    Eclipse Java Development Tools

    Version: 3.1.1
    Build id: M20060118-1600

    Eclipse Project SDK

    Version: 3.1.1
    Build id: M20060118-1600

    Eclipse RCP

    Version: 3.1.1
    Build id: M20060118-1600

    Eclipse Plug-in Development Environment

    Version: 3.1.1
    Build id: M20060118-1600

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    ba4_6c
    -vm
    C:\Programme\Java\jre1.5.0_06\bin\javaw.exe

    As I had the same problem with Eclipse 3.1.1 I freshly installed Eclipse and upgraded from 3.1.1 to 3.1.2. The following plugins are currently installed:

    Jigloo
    Jasperassistent
    Log4E
    Clay Database Modelling

    I get a similar error while opening hibernate configuration files which are not created by MyEclipse. Please contact me if you need further information.

    Best regards,
    tfe

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Unable to open Spring Context Files

You must be logged in to post in the forum log in