glassfish安装中的servlet-api.jar在哪里? [英] where is the servlet-api.jar in glassfish installation?
本文介绍了glassfish安装中的servlet-api.jar在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们正在将我们的项目从Sun App服务器迁移到Glassfish。为了编译,我们需要将classpath设置为在servlet容器中找到的servlet-api.jar。在Glassfish安装的哪里可以找到这些罐子?
谢谢。
您可以在
中找到servlet-api, pre>
$ GLASSFISH_HOME \glassfish\modules\javax.servlet-api.jar
在Glassfish 3和4中。
We are migrating our project from the Sun App server to Glassfish. For compilation we need the classpath to be set to the servlet-api.jar which is found in the servlet container. Where in the Glassfish installation can I find these jars?
Thanks.
解决方案
I guess you want to use Glassfish 3 or higher.
You can find the servlet-api in
$GLASSFISH_HOME\glassfish\modules\javax.servlet-api.jar
in Glassfish 3 and 4.
这篇关于glassfish安装中的servlet-api.jar在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文