Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-4023

When I create my first new Spring MVC project in STS, I got errors in the project.

    XMLWordPrintable

    Details

    • Type: Support
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.6.3.RELEASE
    • Fix Version/s: None
    • Component/s: UI
    • Environment:
      Windows 7 , jdk1.6.0_45

      Description

      I had Eclipse Juno installed in my pc, through Eclipse Marketplace installed
      Spring Tool Suite for Eclipse Juno (3.8 + 4.2).

      When I try to create my first 'new Spring MVC project' in Spring Tool Suite I got 21 errors in the project ( 1 JSP Problem, 15 Java Problems, 4 Maven Problems and 1 Spring Problem). I didn't edit any code, few of these errors list below:

      1. In the 'home.jsp', shows: Can not find the tag library descriptor for "http://java.sun.com/jstl/core"

      2. In the 'servlet-context.xml' shows '<beans:bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">', at '<beans:bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">'

      3. In pom.xml, shows multiple errors with same error message:'
      Multiple annotations found at this line:

      • Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
        (execution: default-testResources, phase: process-test-resources)
      • Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-plugin:2.5:resources (execution:
        default-resources, phase: process-resources)'

      4. In the HomeController.java, has 'Multiple markers at this line

      • The import org.slf4j cannot be resolved
      • The import org.slf4j cannot be resolved
      • The import org.springframework cannot be
        resolved
      • The import org.springframework cannot be
        resolved
      • The import org.springframework cannot be
        resolved
      • The import org.springframework cannot be
        resolved'
        Can anyone shed any light on these errors?

      Thanks,
      James

        Attachments

          Activity

            People

            Assignee:
            mlippert Martin Lippert
            Reporter:
            wj2015 James Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: