message java.lang.IllegalStateException: No output folder

前端 未结 11 1176
野性不改
野性不改 2020-12-06 04:01

I am new to Tomcat on Windows. I am trying to deploy my Java project which I have made in RHEL 5 using Tomcat. Now I want to run that project on window. So I copied and past

11条回答
  •  余生分开走
    2020-12-06 04:28

    I was facing the similar problem on ubuntu 14.04. I was doing some analysis and dropped the work folder manually. Then while running the tomcat server I was getting same exception. The issue was, when we access the manager application of tomcat, it requires jsp page to display the content, and JSP page is rendered from the generated class file which resides in work/Catalina/localhost/.... folder.

    I created the work directory manually, however the problem was still not solved.

    Then I realized that, because I manually created the work directory tomcat7 user didn't have the permission to write on that directory. Changed the owner for work directory from root to tomcat7

    sudo chown tomcat7 work

    restart tomcat service tomcat restart.

    Problem solved.

    Hope this helps

提交回复
热议问题