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:67)
      7 frames
    4. Java Server Support
      RuntimeClasspathContainer.getClasspathEntries
      1. org.eclipse.jst.server.core.RuntimeClasspathProviderDelegate.resolveClasspathContainerImpl(RuntimeClasspathProviderDelegate.java:135)
      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. JDT Core
      DeltaProcessingState.resourceChanged
      1. org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2699)
      2. org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2857)
      3. org.eclipse.jdt.internal.core.ClasspathChange.generateDelta(ClasspathChange.java:235)
      4. org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:2032)
      5. org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:477)
      5 frames
    6. Core Resource Management
      NotificationManager$1.run
      1. org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:299)
      1 frame
    7. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    8. Core Resource Management
      Workspace.run
      1. org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:289)
      2. org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:152)
      3. org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:373)
      4. org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1470)
      5. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2250)
      5 frames
    9. org.eclipse.wst
      InitializeAfterLoadJob$RealJob.run
      1. org.eclipse.wst.jsdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2162)
      2. org.eclipse.wst.jsdt.internal.core.JavaModelManager.getJsGlobalScopeContainer(JavaModelManager.java:1536)
      3. org.eclipse.wst.jsdt.core.JavaScriptCore.getJsGlobalScopeContainer(JavaScriptCore.java:1342)
      4. org.eclipse.wst.jsdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2747)
      5. org.eclipse.wst.jsdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2026)
      6. org.eclipse.wst.jsdt.core.JavaScriptCore.initializeAfterLoad(JavaScriptCore.java:2678)
      7. org.eclipse.wst.jsdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:32)
      7 frames
    10. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      1 frame