package javax.el does not exist

el, java

Solution

I am developing through eclipse. I am not currently using a Dynamic Web Project but I am using ant to build the app.

Having already included this (ages ago and then forgetting):

I then add el-api.jar to my servlet container setup:

<path id="compile.cliClasspath">
    <fileset dir="${cliLibDir}">
        <include name="*.jar" />
    </fileset>
    <fileset dir="${cliTomcatlib}">
        <include name="servlet-api.jar" />
        <include name="jsp-api.jar" />
        <include name="el-api.jar" />
    </fileset>
</path>

Problem

i'm using jre6/eclipse and importing javax.el.* the error package javax.el does not exist [javac] import javax.el.*; comes up. isn't this supposed to be part of java? can anyone tell me why this might be. thanks m

Original source