[jbosstools-issues] [JBoss JIRA] (JBDS-2691) Incomplete build path for Spring Web Project when Spring plugins are installed

Fred Bricon (JIRA) jira-events at lists.jboss.org
Wed Nov 6 09:29:02 EST 2013


    [ https://issues.jboss.org/browse/JBDS-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851382#comment-12851382 ] 

Fred Bricon commented on JBDS-2691:
-----------------------------------

So, Spring IDE scans the classes referenced in different application context xml files, finds org.springframework.web.servlet.view.InternalResourceViewResolver from the spring-web jar, which depends on the servlet-api and then pukes since servlet-api is not on the project classpath.

Adding the servlet-api dependency to the project pom.xml fixes the issue.
                
> Incomplete build path for Spring Web Project when Spring plugins are installed
> ------------------------------------------------------------------------------
>
>                 Key: JBDS-2691
>                 URL: https://issues.jboss.org/browse/JBDS-2691
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: 3rd-party-dependencies, central
>    Affects Versions: 7.0.0.CR1
>         Environment: JBDS 7.0.0.CR1a, L64
>            Reporter: Jiri Peterka
>            Assignee: Fred Bricon
>         Attachments: build-path-is-incomplete.png
>
>
> Build path is incomplete. Cannot find class file for javax/servlet/ServletContext

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list