Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-2691

Incomplete build path for Spring Web Project when Spring plugins are installed

    XMLWordPrintable

Details

    • Hide

      STEP: Install Spring
      STEP: From JBoss Central create Spring Web Project
      STEP: Add Spring project nature (from Spring tools context menu)
      STEP: Clean Error Log
      STEP: Project Clean
      ASSERT: You should see no error messages in Problems view and Error Log view

      Show
      STEP: Install Spring STEP: From JBoss Central create Spring Web Project STEP: Add Spring project nature (from Spring tools context menu) STEP: Clean Error Log STEP: Project Clean ASSERT: You should see no error messages in Problems view and Error Log view
    • Workaround Exists
    • Hide
      • Open the Spring properties (either in workspace preferences or project properties)
      • Click on the Project Builders tab
      • uncheck "AOP Reference Model Builder"

      Another possible workaround :
      Add the following dependency to the pom.xml <dependencies> node :

      <dependency>
      	<groupId>org.jboss.spec.javax.servlet</groupId>
      	<artifactId>jboss-servlet-api_3.0_spec</artifactId>
      	<scope>provided</scope>
      </dependency>
      
      Show
      Open the Spring properties (either in workspace preferences or project properties) Click on the Project Builders tab uncheck "AOP Reference Model Builder" Another possible workaround : Add the following dependency to the pom.xml <dependencies> node : <dependency> <groupId> org.jboss.spec.javax.servlet </groupId> <artifactId> jboss-servlet-api_3.0_spec </artifactId> <scope> provided </scope> </dependency>

    Description

      Build path is incomplete. Cannot find class file for javax/servlet/ServletContext

      Attachments

        Issue Links

          Activity

            People

              fbricon@redhat.com Fred Bricon
              jpeterka_jira Jiri Peterka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: