For Maven 2, you need: <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.4</version> </dependency>
It'll get downloaded from the ibiblio repository here: http://www.ibiblio.org/maven2/javax/servlet/servlet-api/2.4/ -----Original Message----- From: Gisbert Amm [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 10:45 AM To: Maven Users List Subject: Re: Compile classpath You have to define a dependency to the Servlet-API in your POM. E.g. in the project.xml for Maven 1: <dependency> <groupId>servletapi</groupId> <artifactId>servlet-api</artifactId> <version>2.4</version> </dependency> I don't have an example for Maven 2. BTW: It would be helpful, if you'd tell the list if you use Maven 1 or 2 (ideally in the subject of your post). Regards, Gisbert Amm Stein Kråbøl wrote: > Maven is new to me... Please help! > How to set up resorses to point to > c:\web\tomcat\common\lib\servlet.jar > so the compiler can see it_ > This is the output: > --- > [INFO] Compilation failure > C:\project\test-app\src\main\java\com\tellussoft\Test\ShowColor.java:[ > 3,0] > packa > ge javax.servlet does not exist > > Please give me detailed information so I dont have to ask again! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ------------------------------------------------------------------------------ This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]