Link to home
Start Free TrialLog in
Avatar of gudii9
gudii9Flag for United States of America

asked on

sql import cannot be resolved jsp

Hi,

In my js i got errors at below lines saying import sql cannot be resolved


<%@page import="java.sql.DriverManager" %>
<%@page import="java.sql.Connection" %>
<%@page import="java.sql.Statement" %>
<%@page import="java.sql.ResultSet" %>
when did below step all those resolved
Right click on project - >BuildPath - >Configure BuildPath - >Libraries tab - >

Double click on JRE SYSTEM LIBRARY - >Then select alternate JRE

I wonder how jrE is related to above error and resolved it. please advise
Avatar of gurpsbassi
gurpsbassi
Flag of United Kingdom of Great Britain and Northern Ireland image

what is the question guddi9?
another one of your crazy goose chases?
Avatar of gudii9

ASKER

<%@page import="java.sql.DriverManager" %>
<%@page import="java.sql.Connection" %>
<%@page import="java.sql.Statement" %>
<%@page import="java.sql.ResultSet" %>
when did below step all those resolved
Right click on project - >BuildPath - >Configure BuildPath - >Libraries tab - >
I got above error.

I did below fix as per google friend
Double clicking on JRE SYSTEM LIBRARY - >Then select alternate JRE
I am not sure how above jre system library fix of selecting alternate JRE fixed java.sql.* related import issues on a jsp page? please advise
ASKER CERTIFIED SOLUTION
Avatar of gurpsbassi
gurpsbassi
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial