после перехода на sdk 1.4.0 класс перестал компилироваться
7 views
Skip to first unread message
Алексей
unread,
Dec 13, 2010, 11:30:21 AM12/13/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine for Java on Russian
недавно обновил sdk с 1.3.7 на 1.4.0, после чего класс который работал
при 1.3.7 перестал компилироваться с такой ошибкой:
Unable to compile class for JSP:
An error occurred at line: 15 in the generated java file
[javac] /tmp/Jetty_0_0_0_0_8888_war____masbuh/jsp/org/apache/jsp/
release_jsp.java:15: org.apache.jsp.release_jsp is not abstract and
does not override abstract method getDependants() in
org.apache.jasper.runtime.JspSourceDependent
[javac] public final class release_jsp extends
org.apache.jasper.runtime.HttpJspBase
[javac] ^
An error occurred at line: 25 in the generated java file
[javac] /tmp/Jetty_0_0_0_0_8888_war____masbuh/jsp/org/apache/jsp/
release_jsp.java:25: getDependants() in org.apache.jsp.release_jsp
cannot implement getDependants() in
org.apache.jasper.runtime.JspSourceDependent; attempting to use
incompatible return type
[javac] found : java.lang.Object
[javac] required: java.util.List
[javac] public Object getDependants() {
[javac] ^
An error occurred at line: 30 in the generated java file
[javac] /tmp/Jetty_0_0_0_0_8888_war____masbuh/jsp/org/apache/jsp/
release_jsp.java:30: cannot find symbol
[javac] symbol : method
getJspApplicationContext(javax.servlet.ServletContext)
[javac] location: class javax.servlet.jsp.JspFactory
[javac] _el_expressionfactory =
_jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
[javac] ^
[javac] 3 errors
использую Eclipse 3.5.2, SDK менял через свойства проекта