message java.lang.IllegalStateException: No output folder

I have given complete access to my Tomcat Directory. Now i am not getting this error. Thanks !!


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


If you are on Linux/Unix and facing the issue:

STEPS:

Note the User and the service ,in my case it was tomcat yours could be anything else...

1. mkdir work
2. sudo chown tomcat work  
3. service tomcat6 restart