0 Replies Latest reply on Apr 18, 2011 6:22 PM by PDSB_Greg

    Could not create the view: org/dom4j/io/SAXReader

    PDSB_Greg

      I'm using the FlashBuilder 4.1 plugin with Eclipse.  When trying to access the Data/Services tab in the Flex perspective, I get the following error...

       

      Could not create the view: org/dom4j/io/SAXReader

       

      java.lang.ClassNotFoundException: org.dom4j.io.SAXReader

      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)

      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.jav a:107)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      at fiber.core.impl.FmlModelPersistenceFactory.newModelLoader(FmlModelPersistenceFactory.java :42)

      at com.adobe.flexbuilder.dcrad.core.generation.ServicesGenerator.generate(ServicesGenerator. java:69)

      at com.adobe.flexbuilder.dcrad.core.generation.ServicesGenerationManager.loadProjectServices (ServicesGenerationManager.java:72)

      at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager$ServiceExplorerPartListener.<in it>(ServicesManager.java:1235)

      at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.addListeners(ServicesManager.ja va:302)

      at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.setPage(ServicesManager.java:28 2)

      at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView.createPartControl(ServiceExplorerVi ew.java:569)

      at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:375)

      at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229)

      at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)

      at org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:4218)

      at org.eclipse.ui.internal.WorkbenchPage$18.runWithException(WorkbenchPage.java:3277)

      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(EclipseAppLau ncher.java:110)

      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a: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(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

      at java.lang.reflect.Method.invoke(Unknown Source)

      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)

      ...Any ideas as to how to fix the problem?
      I'm running Windows 7 Home Premium (64 bit), Eclipise Helios Service Release 1, Flash Builder plugin 4.1 (build 277662).  On windows XP sp3, with the same version of Eclipse and Flash Builder, I do not get the error.