org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\iPlanet\Servers\https-web_test.wellcarehmo.com\config\..\ClassCache\_jsps\_test\_doctor8_jsp.java:31: Ambiguous class: java.beans.Statement and java.sql.Statement Statement st=null; ^ C:\iPlanet\Servers\https-web_test.wellcarehmo.com\config\..\ClassCache\_jsps\_test\_doctor8_jsp.java:123: Class <<ambiguous>>Statement not found in =. st=con.createStatement(); ^ C:\iPlanet\Servers\https-web_test.wellcarehmo.com\config\..\ClassCache\_jsps\_test\_doctor8_jsp.java:123: Incompatible type for =. Can't convert java.sql.Statement to <<ambiguous>>Statement. st=con.createStatement(); ^ C:\iPlanet\Servers\https-web_test.wellcarehmo.com\config\..\ClassCache\_jsps\_test\_doctor8_jsp.java:125: Class <<ambiguous>>Statement not found in void _jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse). rs=st.executeQuery(strSql); ^ 4 errors, 1 warning

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807567, 6 months ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\iPlanet\Servers\https-web_test.wellcarehmo.com\config\..\ClassCache\_jsps\_test\_doctor8_jsp.java:31: Ambiguous class: java.beans.Statement and java.sql.Statement
via Oracle Community by 807581, 1 year ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\iPlanet\Servers\https-web_test.wellcarehmo.com\config\..\ClassCache\_jsps\_test\_doctor8_jsp.java:31: Ambiguous class: java.beans.Statement and java.sql.Statement
via Oracle Community by 843854, 1 year ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\iPlanet\Servers\https-web_test.xyz.com\config\..\ClassCache\_jsps\_test\_doctor9_jsp.java:31: Ambiguous class: java.beans.Statement and java.sql.Statement Statement st
via Oracle Community by 807567, 6 months ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\iPlanet\Servers\https-NVS06S-W2K.abc.com\config\..\ClassCache\_jsps\_custapprec\_bonus_jsp.java:63: Class myBean.BonusBean not found. myBean.BonusBean Bonus = null
via Oracle Community by 807567, 1 year ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. D:\iPlanet\Servers\https-sgp-web.sci.sing.seagate.com\config\..\ClassCache\_jsps\_departments\_eis\_SetName_jsp.java:60: Class jsps. departments._eis.Contact not found
via Oracle Community by 807581, 6 months ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. /usr/iplanet/servers/https-ULCMBIPTDMZ04/config/../ClassCache/_jsps/_FlightSchedule/_jsp/_test_jsp.java:15: Class com.sla.fs.scheduleCreator not found in import. import com.sla.fs.scheduleCreator; ^ 1 error, 1 warning
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\iPlanet\Servers\https-web_test.wellcarehmo.com\config\..\ClassCache\_jsps\_test\_doctor8_jsp.java:31: Ambiguous class: java.beans.Statement and java.sql.Statement Statement st=null; ^ C:\iPlanet\Servers\https-web_test.wellcarehmo.com\config\..\ClassCache\_jsps\_test\_doctor8_jsp.java:123: Class <<ambiguous>>Statement not found in =. st=con.createStatement(); ^ C:\iPlanet\Servers\https-web_test.wellcarehmo.com\config\..\ClassCache\_jsps\_test\_doctor8_jsp.java:123: Incompatible type for =. Can't convert java.sql.Statement to <<ambiguous>>Statement. st=con.createStatement(); ^ C:\iPlanet\Servers\https-web_test.wellcarehmo.com\config\..\ClassCache\_jsps\_test\_doctor8_jsp.java:125: Class <<ambiguous>>Statement not found in void _jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse). rs=st.executeQuery(strSql); ^ 4 errors, 1 warning
at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.