org.eclipse.core.runtime.CoreException: Could not resolve artifact javax.servlet:servlet-api:jar:2.5

GitHub | elharo | 3 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    can't resolve servlet.jar

    GitHub | 3 months ago | elharo
    org.eclipse.core.runtime.CoreException: Could not resolve artifact javax.servlet:servlet-api:jar:2.5
  2. 0

    Cannot create project when using cloud dataflow plugin for Eclipse

    Stack Overflow | 1 year ago | Xunxun Hou
    org.eclipse.core.runtime.CoreException: Could not resolve artifact com.google.cloud.dataflow:google-cloud-dataflow-java-archetypes-examples:pom:LATEST
  3. 0

    GitHub comment 15#273938692

    GitHub | 3 months ago | jiz5163
    org.eclipse.m2e.core.internal.embedder.MavenImpl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.eclipse.core.runtime.CoreException

      Could not resolve artifact javax.servlet:servlet-api:jar:2.5

      at org.eclipse.m2e.core.internal.embedder.MavenImpl$5.call()
    2. org.eclipse.m2e.core
      MavenImpl.resolve
      1. org.eclipse.m2e.core.internal.embedder.MavenImpl$5.call(MavenImpl.java:776)
      2. org.eclipse.m2e.core.internal.embedder.MavenImpl$5.call(MavenImpl.java:1)
      3. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)
      4. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)
      5. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)
      6. org.eclipse.m2e.core.internal.embedder.MavenImpl.resolve(MavenImpl.java:743)
      7. org.eclipse.m2e.core.internal.embedder.MavenImpl.resolve(MavenImpl.java:720)
      7 frames
    3. com.google.cloud
      ServletClasspathProvider.resolveClasspathContainer
      1. com.google.cloud.tools.eclipse.util.MavenUtils.resolveArtifact(MavenUtils.java:133)
      2. com.google.cloud.tools.eclipse.appengine.libraries.repository.MavenHelper.resolveArtifact(MavenHelper.java:46)
      3. com.google.cloud.tools.eclipse.appengine.libraries.repository.M2RepositoryService.resolveArtifact(M2RepositoryService.java:54)
      4. com.google.cloud.tools.eclipse.appengine.libraries.repository.LibraryClasspathContainerResolverService.resolveLibraryFileAttachSourceSync(LibraryClasspathContainerResolverService.java:208)
      5. com.google.cloud.tools.eclipse.appengine.libraries.repository.LibraryClasspathContainerResolverService.resolveLibraryAttachSourcesSync(LibraryClasspathContainerResolverService.java:107)
      6. com.google.cloud.tools.eclipse.appengine.localserver.ServletClasspathProvider.doResolveClasspathContainer(ServletClasspathProvider.java:73)
      7. com.google.cloud.tools.eclipse.appengine.localserver.ServletClasspathProvider.resolveClasspathContainer(ServletClasspathProvider.java:52)
      7 frames
    4. Java Server Support
      RuntimeClasspathContainer.getClasspathEntries
      1. org.eclipse.jst.server.core.RuntimeClasspathProviderDelegate.resolveClasspathContainerImpl(RuntimeClasspathProviderDelegate.java:133)
      2. org.eclipse.jst.server.core.internal.RuntimeClasspathProviderWrapper.resolveClasspathContainerImpl(RuntimeClasspathProviderWrapper.java:155)
      3. org.eclipse.jst.server.core.internal.RuntimeClasspathContainer.getClasspathEntries(RuntimeClasspathContainer.java:77)
      3 frames
    5. Java Development Tools UI
      JavaNavigatorContentProvider.hasChildren
      1. org.eclipse.jdt.internal.ui.packageview.ClassPathContainer.getChildren(ClassPathContainer.java:135)
      2. org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.getContainerPackageFragmentRoots(PackageExplorerContentProvider.java:372)
      3. org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.getChildren(PackageExplorerContentProvider.java:298)
      4. org.eclipse.jdt.internal.ui.navigator.JavaNavigatorContentProvider.getChildren(JavaNavigatorContentProvider.java:171)
      5. org.eclipse.jdt.ui.StandardJavaElementContentProvider.hasChildren(StandardJavaElementContentProvider.java:241)
      6. org.eclipse.jdt.internal.ui.navigator.JavaNavigatorContentProvider.hasChildren(JavaNavigatorContentProvider.java:159)
      6 frames
    6. Common Navigator View
      NavigatorContentServiceContentProvider$3.run
      1. org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:112)
      2. org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.callNormalHasChildren(NavigatorContentServiceContentProvider.java:444)
      3. org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.access$4(NavigatorContentServiceContentProvider.java:439)
      4. org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider$3.run(NavigatorContentServiceContentProvider.java:407)
      4 frames
    7. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    8. Common Navigator View
      NavigatorContentServiceContentProvider.hasChildren
      1. org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:392)
      2. org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:436)
      2 frames
    9. JFace
      AbstractTreeViewer$1.run
      1. org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2131)
      2. org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:553)
      3. org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2169)
      4. org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2861)
      5. org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:804)
      6. org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:844)
      7. org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:818)
      7 frames
    10. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    11. JFace
      AbstractTreeViewer$4.treeExpanded
      1. org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:791)
      2. org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:611)
      3. org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:762)
      4. org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1493)
      5. org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:903)
      6. org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1505)
      6 frames
    12. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:132)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
      7. org.eclipse.swt.widgets.TreeItem.sendExpand(TreeItem.java:1036)
      8. org.eclipse.swt.widgets.Tree.expandItem_expandChildren(Tree.java:1256)
      9. org.eclipse.swt.widgets.Display.windowProc(Display.java:5955)
      9 frames
    13. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    14. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
      2. org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1121)
      3. org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:2066)
      4. org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1113)
      5. org.eclipse.swt.widgets.Control.mouseDown(Control.java:2571)
      6. org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:2034)
      7. org.eclipse.swt.widgets.Display.windowProc(Display.java:5692)
      7 frames
    15. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    16. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
      2. org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2130)
      3. org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2337)
      4. org.eclipse.swt.widgets.Display.windowProc(Display.java:5756)
      4 frames
    17. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    18. RWT
      Display.applicationProc
      1. org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5193)
      2. org.eclipse.swt.widgets.Display.applicationProc(Display.java:5342)
      2 frames
    19. org.eclipse.swt
      NSApplication.sendEvent
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
      2 frames
    20. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3695)
      1 frame
    21. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      1 frame
    22. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    23. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      1 frame
    24. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      1 frame
    25. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
      1 frame
    26. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    27. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
      1 frame
    28. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    29. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
      1 frame
    30. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    31. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    32. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    33. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1515)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1488)
      4 frames