-3
netbeans와 Glassfish를 사용하고 있지만 서블릿이 실행되지 않는 것 같습니다. 나는이 튜토리얼 https://www.youtube.com/watch?v=_zW27Y2boCoJava Servlet이 실행되고 있지 않음
정확히 같은 일을 따라하지만 서블릿을 실행하려고하면, 그것은 나에게 내 web.xml 파일
HTTP Status 404 - Not Found
type Status report
messageNot Found
descriptionThe requested resource is not available.
과 같은 오류 메시지를이되어 있습니다 :
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<servlet>
<servlet-name>StudentServlet</servlet-name>
<servlet-class>com.sushan.controller.StudentServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>StudentServlet</servlet-name>
<url-pattern>/StudentServlet</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>studentInfo.jsp</welcome-file>
</welcome-file-list>
</web-app>
을
일반적으로 서블릿을 독자적으로 실행하려고하면 열어야하며 jsp를 통해 수행 할 때도 이와 같은 오류가 발생합니다.
HTTP Status 500 - Internal Server Error
type Exception report
messageInternal Server Error
descriptionThe server encountered an internal error that prevented it from fulfilling this request.
exception
javax.ejb.EJBException: Transaction aborted
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 4.1 logs.
누구나 무슨 일이 일어나고 있는지 알고 계십니까?
404를 제공하는 URL은 무엇입니까? – VHS
정확히 일치하는 부분 ""참고 예외의 전체 스택 추적 및 근본 원인은 GlassFish 서버 Open Source Edition 4.1 로그에서 사용할 수 있습니다. "이해 못 했습니까? – BalusC
@VHS http : // localhost : 8080/CRUDWebApplication/StudentServlet에서 저에게 오류가 발생했습니다 –