I'll start with the error I'm receiving, and then explain what I have done so far.
Error running Guestbook: Cannot load /home/anthony/.IntelliJIdea11/system/tomcat/Unnamed_guestbook-spring/conf/server.xml
Using Intellij IDEA 11 Ultimate Edition:
I've added the tomcat6 server in the settings -> application servers menu of Intellij IDEA by adding the directory where tomcat is installed, then I went to edit configurations in the run drop-down box, and added the tomcat server local defaults. Under the deployment tab, I clicked + -> Artifacts... and selected the ProjectName:war file artifact.
Now, when I ran it the first time, it gave me some error like
no conf folder found in /home/anthony/.IntelliJIdea11/system/tomcat/Unnamed_guestbook-spring/
In a moment of desperation I just made a directory called conf there and the error message, sure enough, changed to:
Cannot load /home/anthony/.IntelliJIdea11/system/tomcat/Unnamed_guestbook-spring/conf/server.xml
I have no idea where this file should be found, what should be in it, why it's not being created, or most of all - how to get it in the right place. Any help on this one would be greatly appreciated!!
It happened to me too. I found out that I accidentally edited server.xml file and it was no longer a valid xml. As it couldn't be parsed properly, it wasn't loaded in. Fixing server.xml resolved the issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With