type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 1 in the generated java file The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files An error occurred at line: 1 in the generated java file The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files An error occurred at line: 258 in the jsp file: /index.jsp The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files 255: Iterator list = news.getProps().getKeys("new"); 256: while (list.hasNext()){ 257: String key = list.next().toString(); 258: if (key.contains(".hot") && news.p(key).equals("1")){ 259: hot_id = key.replace(".hot",""); 260: hot_num = hot_id.replace("new.",""); 261: hot_uns = com.neo.utils.ProcessString.getPronameUNS(news.p(hot_id+".title")); An error occurred at line: 258 in the jsp file: /index.jsp The method contains(CharSequence) from the type String refers to the missing type CharSequence 255: Iterator list = news.getProps().getKeys("new"); 256: while (list.hasNext()){ 257: String key = list.next().toString(); 258: if (key.contains(".hot") && news.p(key).equals("1")){ 259: hot_id = key.replace(".hot",""); 260: hot_num = hot_id.replace("new.",""); 261: hot_uns = com.neo.utils.ProcessString.getPronameUNS(news.p(hot_id+".title")); An error occurred at line: 259 in the jsp file: /index.jsp The method replace(char, char) in the type String is not applicable for the arguments (String, String) 256: while (list.hasNext()){ 257: String key = list.next().toString(); 258: if (key.contains(".hot") && news.p(key).equals("1")){ 259: hot_id = key.replace(".hot",""); 260: hot_num = hot_id.replace("new.",""); 261: hot_uns = com.neo.utils.ProcessString.getPronameUNS(news.p(hot_id+".title")); 262: } An error occurred at line: 260 in the jsp file: /index.jsp The method replace(char, char) in the type String is not applicable for the arguments (String, String) 257: String key = list.next().toString(); 258: if (key.contains(".hot") && news.p(key).equals("1")){ 259: hot_id = key.replace(".hot",""); 260: hot_num = hot_id.replace("new.",""); 261: hot_uns = com.neo.utils.ProcessString.getPronameUNS(news.p(hot_id+".title")); 262: } 263: if (key.contains(".tags")){ An error occurred at line: 263 in the jsp file: /index.jsp The method contains(CharSequence) from the type String refers to the missing type CharSequence 260: hot_num = hot_id.replace("new.",""); 261: hot_uns = com.neo.utils.ProcessString.getPronameUNS(news.p(hot_id+".title")); 262: } 263: if (key.contains(".tags")){ 264: for (String tag: news.p(key).split(",")){ 265: tags.put(tag.trim(),tag.trim()); 266: } An error occurred at line: 268 in the jsp file: /index.jsp The method contains(CharSequence) from the type String refers to the missing type CharSequence 265: tags.put(tag.trim(),tag.trim()); 266: } 267: } 268: if (key.contains(".category")){ 269: for (String cat: news.p(key).split(",")){ 270: cats.put(cat.trim(),cat.trim()); 271: } An error occurred at line: 297 in the jsp file: /index.jsp The method contains(CharSequence) from the type String refers to the missing type CharSequence 294: int count1=0; 295: while (list1.hasNext() && count1<4){ 296: String key1 = list1.next().toString(); 297: if (key1.contains(".title")){ 298: count1++; 299: key1=key1.replace(".title",""); 300: tuvan_num = key1.replace("advise.","");//advise.1 ---> 1 An error occurred at line: 299 in the jsp file: /index.jsp The method replace(char, char) in the type String is not applicable for the arguments (String, String) 296: String key1 = list1.next().toString(); 297: if (key1.contains(".title")){ 298: count1++; 299: key1=key1.replace(".title",""); 300: tuvan_num = key1.replace("advise.","");//advise.1 ---> 1 301: tuvan_uns = com.neo.utils.ProcessString.getPronameUNS(advise.p(key1+".title")); 302: if (count1==1) { %> An error occurred at line: 300 in the jsp file: /index.jsp The method replace(char, char) in the type String is not applicable for the arguments (String, String) 297: if (key1.contains(".title")){ 298: count1++; 299: key1=key1.replace(".title",""); 300: tuvan_num = key1.replace("advise.","");//advise.1 ---> 1 301: tuvan_uns = com.neo.utils.ProcessString.getPronameUNS(advise.p(key1+".title")); 302: if (count1==1) { %> 303: <div class="accordion-group"> Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457) org.apache.jasper.compiler.Compiler.compile(Compiler.java:374) org.apache.jasper.compiler.Compiler.compile(Compiler.java:352) org.apache.jasper.compiler.Compiler.compile(Compiler.java:339) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213) org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171) org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.14 logs.