facebook

Classpath problems?

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #208873 Reply

    YellowDog
    Member

    I have a red-x annotation on my project and two errors is Task view:
    “The project was not built due to classpath errors (incomplete or invovled in cycle).”
    and
    “Unbound classpath container: com.genuitec.eclipse.core.J2EE_CONTAINER.”

    I’ve never seen this before and it seems to have happened for no apparent reason; that is nothing unsual preceeded this event – it just appeared. I refreshed the project but that didn’t help.

    What operating system and version are you running? Win XP Pro
    What Eclipse version and build id are you using? (Help > About Eclipse Platform) 2.1.3 / 200403101828
    – Was Eclipse freshly installed for MyEclipse? Yes
    – If not, was it upgraded to its current version using the update manager?
    – Are any other external plugins installed? No
    – How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.* 7 (in one workspace) 1 (in another)
    What MyEclipse version are you using? (Help > About Eclipse Platform > Features) 2.7.1
    What JDK version are you using to run Eclipse? (java -version) 1.4.2
    What JDK version are you using to launch your application server? 1.4.2
    What steps did you take that resulted in the issue?
    What application server are you using? Tomecat 5.0.19

    !ENTRY org.eclipse.jdt.core 4 2 Jun 21, 2004 11:58:23.233
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jdt.core”.
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.j2eedt.core.J2EEContainerInitializer.Ä‚(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EEContainerInitializer.initialize(Unknown Source)
    at org.eclipse.jdt.core.JavaCore$1.run(JavaCore.java:896)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
    at org.eclipse.core.runtime.Platform.run(Platform.java:413)
    at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:891)
    at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1531)
    at org.eclipse.jdt.internal.core.JavaProject.findPackageFragmentRoots(JavaProject.java:884)
    at org.eclipse.jdt.internal.ui.packageview.ClassPathContainer.getPackageFragmentRoots(ClassPathContainer.java:59)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.getContainerPackageFragmentRoots(PackageExplorerContentProvider.java:174)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.getChildren(PackageExplorerContentProvider.java:119)
    at org.eclipse.jdt.ui.StandardJavaElementContentProvider.hasChildren(StandardJavaElementContentProvider.java:247)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:1049)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:1461)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:321)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:303)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:289)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:813)
    at org.eclipse.jface.viewers.AbstractTreeViewer.setExpandedElements(AbstractTreeViewer.java:1218)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.restoreExpansionState(PackageExplorerPart.java:910)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.restoreUIState(PackageExplorerPart.java:847)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.createPartControl(PackageExplorerPart.java:332)
    at org.eclipse.ui.internal.PartPane$4.run(PartPane.java:141)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
    at org.eclipse.core.runtime.Platform.run(Platform.java:413)
    at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:137)
    at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane.java:211)
    at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:186)
    at org.eclipse.ui.internal.ViewPane.createControl(ViewPane.java:190)
    at org.eclipse.ui.internal.PartTabFolder.createPartTab(PartTabFolder.java:252)
    at org.eclipse.ui.internal.PartTabFolder.createControl(PartTabFolder.java:224)
    at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:192)
    at org.eclipse.ui.internal.PerspectivePresentation.activate(PerspectivePresentation.java:96)
    at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:725)
    at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:1799)
    at org.eclipse.ui.internal.WorkbenchWindow$7.run(WorkbenchWindow.java:1496)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:1483)
    at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1363)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1263)
    at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1223)
    at org.eclipse.ui.internal.Workbench$12.run(Workbench.java:1141)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
    at org.eclipse.core.runtime.Platform.run(Platform.java:413)
    at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState(Workbench.java:1093)
    at org.eclipse.ui.internal.Workbench.init(Workbench.java:870)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:1373)
    at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    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:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
    at org.eclipse.core.launcher.Main.run(Main.java:747)
    at org.eclipse.core.launcher.Main.main(Main.java:583)
    !ENTRY org.eclipse.jdt.core 4 4 Jun 21, 2004 11:58:23.249
    !MESSAGE Exception occurred in classpath container initializer: com.genuitec.eclipse.j2eedt.core.J2EEContainerInitializer@1751a9e
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.j2eedt.core.J2EEContainerInitializer.Ä‚(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EEContainerInitializer.initialize(Unknown Source)
    at org.eclipse.jdt.core.JavaCore$1.run(JavaCore.java:896)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
    at org.eclipse.core.runtime.Platform.run(Platform.java:413)
    at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:891)
    at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1531)
    at org.eclipse.jdt.internal.core.JavaProject.findPackageFragmentRoots(JavaProject.java:884)
    at org.eclipse.jdt.internal.ui.packageview.ClassPathContainer.getPackageFragmentRoots(ClassPathContainer.java:59)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.getContainerPackageFragmentRoots(PackageExplorerContentProvider.java:174)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.getChildren(PackageExplorerContentProvider.java:119)
    at org.eclipse.jdt.ui.StandardJavaElementContentProvider.hasChildren(StandardJavaElementContentProvider.java:247)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:1049)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:1461)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:321)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:303)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:289)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:813)
    at org.eclipse.jface.viewers.AbstractTreeViewer.setExpandedElements(AbstractTreeViewer.java:1218)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.restoreExpansionState(PackageExplorerPart.java:910)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.restoreUIState(PackageExplorerPart.java:847)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.createPartControl(PackageExplorerPart.java:332)
    at org.eclipse.ui.internal.PartPane$4.run(PartPane.java:141)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
    at org.eclipse.core.runtime.Platform.run(Platform.java:413)
    at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:137)
    at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane.java:211)
    at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:186)
    at org.eclipse.ui.internal.ViewPane.createControl(ViewPane.java:190)
    at org.eclipse.ui.internal.PartTabFolder.createPartTab(PartTabFolder.java:252)
    at org.eclipse.ui.internal.PartTabFolder.createControl(PartTabFolder.java:224)
    at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:192)
    at org.eclipse.ui.internal.PerspectivePresentation.activate(PerspectivePresentation.java:96)
    at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:725)
    at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:1799)
    at org.eclipse.ui.internal.WorkbenchWindow$7.run(WorkbenchWindow.java:1496)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:1483)
    at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1363)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1263)
    at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1223)
    at org.eclipse.ui.internal.Workbench$12.run(Workbench.java:1141)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
    at org.eclipse.core.runtime.Platform.run(Platform.java:413)
    at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState(Workbench.java:1093)
    at org.eclipse.ui.internal.Workbench.init(Workbench.java:870)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:1373)
    at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    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:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
    at org.eclipse.core.launcher.Main.run(Main.java:747)
    at org.eclipse.core.launcher.Main.main(Main.java:583)

    #208874 Reply

    Riyad Kalla
    Member

    YellowDog,
    Go to your Java Build Path settings and Libraries tab. remove the J2EE 1.3 Library Set, now navigate to Window > Preferences > MyEclipse > J2EE > Library Sets > 1.3, and click the “Restore Defaults” button, now hit OK, now navigate BACK to your Java Build Path and Libraries tab, now re-add the J2EE 1.3 Library Set, hit OK… all should be well with the world again.

    #208879 Reply

    YellowDog
    Member

    OK, that worked, but sheeesh! What happened? 😯

    #208886 Reply

    Riyad Kalla
    Member

    OK, that worked, but sheeesh! What happened?

    Glad it worked, and as far as what happened, the Library Set in Eclipse 2.x have always been flaky for some reason, but now that its part of the Eclipse platform in 3.0, we are switching to using that instead.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Classpath problems?

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