Hi All,

I have a web application which uses Maven2. It was working fine until I started to add additional features which requires more 3rd-party libraries. After I added these libraries to my dependency list, Maven couldn't compile the application because servlet-api was not on the classpath anymore. But servlet-api is still in my dependency list and its scope is set to "provided".

If I remove these libraries, servlet-api will again get back to the classpath. And it seems this is not related to a particular library. It is completely random. It will get to a point that servlet-api will get removed when I add a random library to the dependency list.

I am completely lost and frustrated. Could someone please help me?

Thanks much!

Kenny

Attachment: pgpWxWJgZM9q5.pgp
Description: signature

Reply via email to