Still having problems..

In my pom I have the following dependencies:


  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>tomcat</groupId>
    <artifactId>servlet-api</artifactId>
    <version>5.5.23</version>
</dependency>
<dependency>
    <groupId>tomcat</groupId>
    <artifactId>jsp-api</artifactId>
    <version>5.5.23</version>
</dependency>
<dependency>
    <groupId>tomcat</groupId>
    <artifactId>jasper-compiler</artifactId>
    <version>5.5.23</version>
</dependency>
<dependency>
    <groupId>tomcat</groupId>
    <artifactId>jasper-runtime</artifactId>
    <version>5.5.23</version>
    </dependency>
    <dependency>
  <groupId>javax.servlet</groupId>
  <artifactId>jsp-api</artifactId>
  <version>2.0</version>
</dependency>
</dependencies>

I'm trying to write a servlet in Eclipse using this, but it won't let me
import javax.servlet etc. I've added these dependecies, but still no luck,
does anyone know what I'm missing??

Thanks again,
Pinky





pinky88 wrote:
> 
> Hi, I'm trying to set dependencies in my POM for a servlet to be hosted on
> a tomcat container, for this dependency:
> 
> <dependency>
>   <groupId>javax.servlet</groupId>
>   <artifactId>jsp-api</artifactId>
>   <version>????</version>
>   <scope>compile</scope>
> </dependency>
> 
> I don't know where to find the version.. does anyone know where I should
> look???
> 
> Thanks,
> Pinky
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/servlet-API-and-jsp-API-versions-vfor-dependencies----------please-help%21%21-tf4061757s177.html#a11540041
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to