IntelliJ needs to copy tomcat/conf directory to project directory

前端 未结 6 1195
面向向阳花
面向向阳花 2020-12-09 08:02

I have a freshly installed Tomcat 7 server, and I\'m trying to make IntelliJ deploy a HelloWorld Spring MVC app to Tomcat.

My Tomcat home is /usr/share/tomcat7

6条回答
  •  心在旅途
    2020-12-09 08:55

    Had the same error with usr/share, dont just blindly run a command to act as magic-wand as many just tell you you run this and that on a mother-directory.

    this is Linux, always some stupid thing with the permissions.

    all you garra do is using chmod 666 or chmod 777 on files that are causing the error, but you need to look at those files first using ll and ls to make sure you are not decreasing some access, you may have a directory with 77x and when you do 666 you mess things up.

    just gradually and one by one increase the chmod level and check whether problem goes away or not.

    Sorry I didn't give you some code to fix all the problems.

提交回复
热议问题