HTTP Status 500 - java.lang.ClassNotFoundException: org.apache.jsp.index_jsp

前端 未结 3 1559
死守一世寂寞
死守一世寂寞 2021-01-06 00:28

I made a JSP-Project in Eclipse (with Tomcat 7) but when I run the page, i get an ClassnotFoundExcption.

in my Project i work with Controllers to bind Data to the JS

3条回答
  •  一整个雨季
    2021-01-06 01:26

    1.Open command prompt using "Run as administrator" or using sudo in Linux

    1. Go to the "bin" directory of Tomcat folder. for example: cd C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.15\bin

    Note the version number and the accurate Location.

    1. Run 'startup.bat' and the Server should start

    2. Open a web browser entered http://localhost:8080/

    3. If the server runns without exceptions, this means that you must give eclipse administrative privileges.

    to do that you can visit: Windows 7 - Eclipse now needs me to run as administrator or https://askubuntu.com/questions/249098/how-do-i-run-eclipse-as-sudo

提交回复
热议问题