500错误 求解啊 是 tomcat的 错误提示如下
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了500错误 求解啊 是 tomcat的 错误提示如下相关的知识,希望对你有一定的参考价值。
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to load class for JSP
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:161)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:338)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
org.apache.jasper.JasperException: Unable to load class for JSP
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:630)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:149)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:338)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
java.lang.ClassNotFoundException: org.apache.jsp.login_jsp
java.net.URLClassLoader$1.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(Unknown Source)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66)
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:628)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:149)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:338)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.30 logs.
再不行 把你的tomcat目录下面的work/Catalina/你tomcat配置的ip/你的工程/org/apache/jsp/下面的东西都删了再重新部署试试追问
我是一本书找的例程 能有这样的错误
参考技术B Classa对象取的有问题 上面的都是一样的(没看明白。。)~!追问我是一本书找的例程 能有这样的错误
哪位是python高手,求解啊。要用while loop。
a. (8 points) Write a function mult() that prompts the user to enter a number greater
than 0 and then multiplies all the integers between 1 and the number (inclusive)
and prints the result of multiplying all the numbers. Hint: Use a while loop to
iterate through the numbers. Think “count with while”.
b. (2 points) Modify your program so that it only multiplies odd integers.
Here is how it runs:
>>>Enter a number greater than 0: 8
105
Enter a number greater than 0: 20
654729075
mult(True)是第二问的答案
def mult(only_odd=False):
while True:
num = raw_input('Enter a number greater than 0: ').strip()
if num and num.isdigit():
num = int(num)
if num > 0:
a = 1
min_num = 2 if only_odd else 1
if only_odd and num % 2 == 0:
num -= 1
while num > min_num:
a *= num
num -= min_num
print a 参考技术A 能不能先翻译下啊。。。E文很费劲。追问
可以. 就是说如果随便输入一个大于0的整数,输出就是那个整数的阶乘。假如我输入5,输出应该是5*4*3*2*1=120
以上是关于500错误 求解啊 是 tomcat的 错误提示如下的主要内容,如果未能解决你的问题,请参考以下文章
急!!ftp登录错误,提示 530 not logged in,连接失败 ,,是怎么回事啊 ?求解!!