Bug 546476 - EclipseWtpPluginProjectNotRecognisingMavenScopes
Summary: EclipseWtpPluginProjectNotRecognisingMavenScopes
Status: RESOLVED INVALID
Alias: None
Product: Web Tools
Classification: WebTools
Component: Web Standard Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: wst-inbox CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: needinfo
: 546477 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-16 08:59 EDT by vijay kancharla CLA
Modified: 2019-12-09 13:05 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vijay kancharla CLA 2019-04-16 08:59:45 EDT
Hi,

I am doing a spring mvc project in eclipse oxygen,Initially when i am not setting scope is not as provided for my servlet-api.jar, it thrown jaspaer exception as expected.Later i provided scope as provided in my pom.xml then exception gone as expected.Now I commented out scope as provided,This time it is not throwing any error.(Expected jasper exception.) Iam doing every time maven update project in eclipse.

When i am doing tomcat clean directory only it is working properly. 

steps to reproduce issue.

(1) create a spring mvc project and add all dependencies in pom.
(2) Do not specify any scope for servlet-api.jar.(By default it will take compile).Exception Will come.
(3)This time specify scope as provided.(exception wont come).
(4)Remove scope as provided(Expecting exception,but won't come).
Comment 1 Jay Arthanareeswaran CLA 2019-05-29 02:22:29 EDT
Moving to web tools.
Comment 2 Jay Arthanareeswaran CLA 2019-05-29 02:23:18 EDT
*** Bug 546477 has been marked as a duplicate of this bug. ***
Comment 3 Nitin Dahyabhai CLA 2019-05-29 06:32:40 EDT
What's the exception stack trace? What do you mean by "setting scope"? Can you reproduce this without Spring Tools (WTP doesn't have a Spring MVC project wizard or type)?
Comment 4 Nitin Dahyabhai CLA 2019-12-09 13:05:52 EST
No further information in the past 6 months.