message java.lang.IllegalStateException: No output folder

前端 未结 11 1148
野性不改
野性不改 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:37

    De permissão total ao diretório apache. No windows botão direito do mouse propriedades->seguranca->avançadas->permissões->adicionar

    0 讨论(0)
  • 2020-12-06 04:40

    It can be because of lack of write permissions to cache directory (/var/lib/tomcat6 on Linux). If this is your case, use the following commands to grant full access and restart Tomcat:

    sudo /etc/init.d/tomcat6 stop
    sudo chown -R tomcat6 /var/lib/tomcat6
    sudo chmod -R 777 /var/lib/tomcat6
    sudo /etc/init.d/tomcat6 start
    

    If this was working for you previously, sometimes the work directory is simply in a bad state and you can fix it by simply deleting it and allowing Tomcat to create a new one from scratch.

    0 讨论(0)
  • 2020-12-06 04:41

    Check your Disk space ?

    I also got this error when my / partition had filled up. Freeing up some disk space removed this error for me.

    0 讨论(0)
  • 2020-12-06 04:43

    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
    
    0 讨论(0)
  • 2020-12-06 04:43

    Try restarting the server completely (if applicable)

    0 讨论(0)
提交回复
热议问题