'jsp files not getting updated

I'm going to create a website using Spring.

So I created a jsp file, but no matter how I change the source code from today, the jsp file will not be updated.

This is my jsp code

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    
</head>
<body id="page-top">
    
    <!-- jQuery 사용을 위한 include, 항상 최상단에 위치해 있어야 함 -->
    <jsp:include page="common/jQuery.jsp"/>
    <!-- servletPath가 만약 true라면 아래 진입 -->
    <!-- Page Wrapper -->
    <div id="wrapper">
        
        <!-- 사이드 네비바 파일을 가져와서 include 시켜줌, 사이드 네비바는 무조건 div id 가 wrapper안에 있어야 함 -->
        <jsp:include page="common/side_nav.jsp"/>
        <c:if test="${ pageName eq 'noticePage' }">
            <script>
                $(document).ready(function() {
                    $("#accordionSidebar").children(".nav-item").eq(0).removeClass("active");
                    $("#accordionSidebar").children(".nav-item").eq(2).addClass("active");
                    
                    $('#summernote').summernote({
                        height: 500,
                        lang: "ko-KR"
                    });
                });
            </script>
        </c:if>  
        <!-- Content Wrapper -->
        <div id="content-wrapper" class="d-flex flex-column">

            <!-- Main Content -->
            <div id="content">
            
                <!-- Top bar 부분을 가져와서 사용함, Top bar는 무조건 content안에 있어야 함-->
                <jsp:include page="common/top_bar.jsp"/>

                <!-- Begin Page Content -->
                <div class="container-fluid">

                    <!-- DataTales Example -->
                    <div class="card shadow mb-4">
                        <div class="card-header py-3">
                            <h4 class="m-0 font-weight-bold text-primary">공지사항항항</h4>
                        </div>
                        
                        <div class="card-body" style="height:auto">
                            <form method="post">
                                <input type="text" placeholder="제목"/>
                                <div id="summernote"></div>
                                
                            </form>
                        </div>
                    </div>

                </div>
                <!-- /.container-fluid -->

            </div>
            <!-- End of Main Content -->

            <!-- Footer 부분 이건   content-wrapper 제일 아래에 위치시키도록 하자-->
            <jsp:include page="common/footer.jsp"/>
            <!-- End of Footer -->

        </div>
        <!-- End of Content Wrapper -->

    </div>
    <!-- End of Page Wrapper -->
    
    <!-- 맨위로 올라가게 해주는 토글 버튼과 우측 상단로그아웃 부분. 이건 항상 body의 제일 아래부분에 있도록 위치시키자 -->
    <jsp:include page="common/logout_scroll.jsp"/>
    <!-- summernote cdn 시작-->
    <link href="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.12/summernote-lite.css" rel="stylesheet">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.12/summernote-lite.js"></script>

    <!-- summernote cdn 끝 -->

</body>

</html>

I checked the page source on Google Chrome, but the tag was not added to the source after rebooting the local server many times.

I searched a lot and found that source freezing occurred.

So I checked the work file in the following path, but the work file is empty.

C:\dev\apache-tomcat-9.0.58-windows-x64\apache-tomcat-9.0.58\work

Also, I checked the work file in the following path, but it is also empty.

C:\workspace3\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\work

How can I solve this problem?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source