Spring Tool Suite
  1. Spring Tool Suite
  2. STS-2128

Spring MVC Template project configuration not valid after creation

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0.M2
    • Fix Version/s: 2.8.0.RELEASE
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows 7, JAVA 1.6

      Description

      When I create new Spring MVC template project I got errors in the project.

      1) classpath error: unable to find org.aspectj.lang.JoinPoint (check that aspectjrt.jar is in your classpath)
      2) Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"

      When I browse the project structure, in project explorer, path: projectname/Java Resources/Libraries instead of usual Maven dependencies and all resolved libraries I see empty (no libraries) entry: org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER

      I am using external Maven 3.0.3 installation. But it is the same for embedded.

      For other Maven projects I see libraries properly configured and resolved.

        Activity

        Hide
        Rafał Borowiec added a comment -

        I checked randomly other templates: Simple Spring Batch Project and JPA. I got the same issue after creation.

        Show
        Rafał Borowiec added a comment - I checked randomly other templates: Simple Spring Batch Project and JPA. I got the same issue after creation.
        Hide
        Martin Lippert (c) added a comment -

        This is a result of our update to the included m2e version. We will update the template projects to reflect this and work ouf of the box again. In the meantime you can do a "Convert to Maven project" from the "Configure" context menu. That should put the project in good shape again.

        Show
        Martin Lippert (c) added a comment - This is a result of our update to the included m2e version. We will update the template projects to reflect this and work ouf of the box again. In the meantime you can do a "Convert to Maven project" from the "Configure" context menu. That should put the project in good shape again.
        Hide
        Martin Lippert (c) added a comment -

        This should be fixed for STS 2.8.0, we updated the template project definitions to get full m2e compatibility with STS 2.8.0 without any further actions.

        The "cannot find tag library" error you are seeing seems to be a caching problem within webtools, when you do a clean build of the project, the error disappears and is not coming back when creating the next project.

        Show
        Martin Lippert (c) added a comment - This should be fixed for STS 2.8.0, we updated the template project definitions to get full m2e compatibility with STS 2.8.0 without any further actions. The "cannot find tag library" error you are seeing seems to be a caching problem within webtools, when you do a clean build of the project, the error disappears and is not coming back when creating the next project.

          People

          • Assignee:
            josh Long
            Reporter:
            Rafał Borowiec
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              First Response Date: