如何在tomcat服务器中部署Jsp Project
我已经在Windows的Tomcat服务器上成功部署了Jsp项目.但是,当我将我的项目发送到主服务器(我们没有客户端Tomcat服务器的完全访问权限时,他们让我通过FTP发送),因此使用文件Zila我将我的项目发送到客户端服务器,然后进行了文件部署,但是请仅运行客户端代码检查此[ http://www.incometaxindiapr.gov.in/当我尝试从serch Box检索任何东西时,Project给出了org.apache.jasper.JasperException:无法为JSP编译类:Exception.请帮我.
I have Successfuly Deploy my Jsp Project On Tomcat Server in Windows . But when i send my Project to main server (we don't have Full access of Client Tomcat server They Gave me FTP for send ) so Using File Zila i am sending My Project to client server then file deployed But only client side code run please check this [http://www.incometaxindiapr.gov.in/incometaxindiacr/cbdt-cir-not/Home.jsp ] when i try to serch any thing from serch Box then Project gives org.apache.jasper.JasperException: Unable to compile class for JSP: Exception . please help me.
注意:客户在安装Tomcat Server的Linux服务器中.
NOTE: CLIENT have Linux server in that install Tomcat Server .
有几处错误,其中最重要的一点是仅通过FTP部署JSP",这很容易理解,从这个问题可以明显看出,容易出错.由于您已经在使用Tomcat,为什么不使用Tomcat Manager?那就是它的用途.
There are several things wrong, not the least of which is "only deploying JSP's through FTP", which is hacky, and as is evident from this problem, highly error prone. Since you're already using Tomcat, why not use the Tomcat Manager? That's what it's there for.
从JSP的输出来看,我猜您在服务器上有一些旧代码,并且无论JAR包含mypackage.Utility,mypackage.GetFileContent和mypackage.LuceneFields都与您的不同在您的开发人员环境中使用.
Judging from the output of the JSP, I'm guessing you have som old code lying around on the server, and that whatever JAR's contain mypackage.Utility, mypackage.GetFileContent and mypackage.LuceneFields are not the same as what you are using in your developer environment.