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

Oracle Community | 807581 | 1 decade ago
  1. 0

    ORACLE JDBC CONNECTION ERROR

    Oracle Community | 1 decade ago | 807581
    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
  2. 0

    JDBC connection error to ORACLE in JSP

    Oracle Community | 1 decade ago | 807567
    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
  3. 0

    JDBC connection in iPlanet web server.

    Oracle Community | 1 decade ago | 843854
    org.apache.jasper.JasperException: 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=null; ^ C:\iPlanet\Servers\https-web_test.xyz.com\config\..\ClassCache\_jsps\_test\_doctor9_jsp.java:123: Class <<ambiguous>>Statement not found in =. st=con.createStatement(); ^ C:\iPlanet\Servers\https-web_test.xyz.com\config\..\ClassCache\_jsps\_test\_doctor9_jsp.java:123: Incompatible type for =. Can't convert java.sql.Statement to <<ambiguous>>Statement. st=con.createStatement(); ^ C:\iPlanet\Servers\https-web_test.xyz.com\config\..\ClassCache\_jsps\_test\_doctor9_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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Package oracle.jdbc.driver not found in import. Error!

    Oracle Community | 1 decade ago | 843835
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. /extra/iplanet/servers/https-venus.mitsubishichips.com/config/../ClassCache/_jsps/_internet/_latestnews_jsp.java:16: Package oracle.jdbc.driver not found in import. import oracle.jdbc.driver.*; ^ 1 error, 1 warning
  6. 0

    I can't work with java Beans in IWS6

    Oracle Community | 1 decade ago | 807567
    org.apache.jasper.JasperException: Unable to compile class for JSP/local/iplanet/https-hdesk-1/config/../ClassCache/_jsps/_otro_jsp.java:60: Class _jsps.UserData not found. UserData user = null; ^ /local/iplanet/https-hdesk-1/config/../ClassCache/_jsps/_otro_jsp.java:63: Class _jsps.UserData not found. user= (UserData) ^ /local/iplanet/https-hdesk-1/config/../ClassCache/_jsps/_otro_jsp.java:68: Class _jsps.UserData not found. user = (UserData) Beans.instantiate(this.getClass().getClassLoader(), "UserData"); ^ 3 errors

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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 org.apache.jasper.compiler.Compiler.compile()
    2. GWT dev
      Compiler.compile
      1. org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
      1 frame
    3. com.iplanet.server
      NSServletRunner.Service
      1. com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
      2. com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
      3. com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416)
      3 frames