请教java.io.FileNotFoundException问题
严重:java.io.FileNotFoundException:jndi:/localhost/E-sell%20E-buy/WEB-INF/classes/com/s...
严重: java.io.FileNotFoundException: jndi:/localhost/E-sell%20E-buy/WEB-INF/classes/com/struts2/eseb/actions/Other.class
java.io.FileNotFoundException: jndi:/localhost/E-sell%20E-buy/WEB-INF/classes/com/struts2/eseb/actions/Other.class
at org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContextURLConnection.java:389)
at java.net.URL.openStream(URL.java:1009)
at com.sun.faces.config.AnnotationScanner.containsAnnotation(AnnotationScanner.java:523)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:475)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:445)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:467)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:445)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:467)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:445)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:467)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:445)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:467)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:445)
刚开始是能访问的
访问后显示
HTTP Status 500 - Unable to compile class for JSP
type Exception report
message Unable to compile class for JSP
description The server encountered an internal error that prevented
it from fulfilling this request.
exception
Console显示:
严重: java.io.FileNotFoundException: jndi:/localhost/E-sell%20E-buy/WEB-INF/classes/com/struts2/eseb/actions/Book.class
java.io.FileNotFoundException: jndi:/localhost/E-sell%20E-buy/WEB-INF/classes/com/struts2/eseb/actions/Book.class 展开
java.io.FileNotFoundException: jndi:/localhost/E-sell%20E-buy/WEB-INF/classes/com/struts2/eseb/actions/Other.class
at org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContextURLConnection.java:389)
at java.net.URL.openStream(URL.java:1009)
at com.sun.faces.config.AnnotationScanner.containsAnnotation(AnnotationScanner.java:523)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:475)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:445)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:467)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:445)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:467)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:445)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:467)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:445)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:467)
at com.sun.faces.config.AnnotationScanner.processWebInfClasses(AnnotationScanner.java:445)
刚开始是能访问的
访问后显示
HTTP Status 500 - Unable to compile class for JSP
type Exception report
message Unable to compile class for JSP
description The server encountered an internal error that prevented
it from fulfilling this request.
exception
Console显示:
严重: java.io.FileNotFoundException: jndi:/localhost/E-sell%20E-buy/WEB-INF/classes/com/struts2/eseb/actions/Book.class
java.io.FileNotFoundException: jndi:/localhost/E-sell%20E-buy/WEB-INF/classes/com/struts2/eseb/actions/Book.class 展开
4个回答
展开全部
你用的是Eclipse还是Idea,把classes删除,重新编译看下。
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
可能读取的时候 文件路径有问题
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
文件未找到。你要问什么?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2015-10-09
展开全部
那错误信息讲了,找不到文件。。。。。。检查检查吧
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询