Community
Participate
Working Groups
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).
Moving to web tools.
*** Bug 546477 has been marked as a duplicate of this bug. ***
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)?
No further information in the past 6 months.