달리남123
40
2021-09-18 06:29:33 작성 2021-09-18 08:10:56 수정됨
1
113

jsp질문


안녕하세요.

https://okky.kr/article/1054057 글을 작성한 작성자 입니다.

e.getMessage()하니깐 부적합한 열 이름이라는 오류가 발생하는데 어느 부분에서 오류가 발생하는지 몰라서 글 올립니다.

감사합니다.


java.sql.SQLException: 부적합한 열 이름

at oracle.jdbc.driver.OracleStatement.getColumnIndex(OracleStatement.java:3724)

at oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:2799)

at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:498)

at org.apache.jsp.AndroidDB_jsp._jspService(AndroidDB_jsp.java:203)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:327)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1726)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)

at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.base/java.lang.Thread.run(Thread.java:831)

0
  • 답변 1

  • Mambo
    6k
    2021-09-18 09:37:33

    at org.apache.jsp.AndroidDB_jsp._jspService(AndroidDB_jsp.java:203)

    직접 작성하신 부분은 여기밖에 없습니다.

    지난 글을 보니 name_rs에서 CODE, EMP_NO, PASSWORD를 가져오는게 의도하신 건지 확인하세요.

  • 로그인을 하시면 답변을 등록할 수 있습니다.