软件包javax.el不存在 [英] package javax.el does not exist

查看:234
本文介绍了软件包javax.el不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用jre6 / eclipse并导入javax.el。*错误

i'm using jre6/eclipse and importing javax.el.* the error

包javax.el不存在
[javac]导入javax .el。*;

package javax.el does not exist [javac] import javax.el.*;

出现。这不是Java的一部分吗?谁能告诉我为什么会这样。
谢谢
m

comes up. isn't this supposed to be part of java? can anyone tell me why this might be. thanks m

推荐答案

我正在通过Eclipse进行开发。我当前未使用Dynamic Web Project,但正在使用ant来构建应用程序。

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):

然后我将el-api.jar添加到我的servlet容器设置中:

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>

这篇关于软件包javax.el不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆