java.lang.IllegalArgumentException: The main resource set specified […] is not valid

后端 未结 6 1380
萌比男神i
萌比男神i 2020-11-29 11:47

I\'m having trouble starting my Tomcat server, it used to work, but I did something wrong and now it throws me this exception:

Caused by: java.lang.IllegalAr         


        
6条回答
  •  既然无缘
    2020-11-29 12:34

    I had a similar issue. Just if someone else runs into this problem:

    For me it was caused because I had an old project deployed, then closed that project. For several weeks, everything was fine, until I used the "Clean..." command of eclipse on that tomcat server. From that point on the famous The main resource set specified [...path to deployment location of this project...] is not valid was raised every time I tried to start Tomcat. What solved this problem for me was just removing that old project from tomcat (Right click on that entry under Tomcat Server and choose "Remove").

提交回复
热议问题