{"id":11682,"date":"2013-08-01T10:54:00","date_gmt":"2013-08-01T09:54:00","guid":{"rendered":"https:\/\/touk.pl\/blog\/?guid=edd87c9479d70c82c494baef0cc16b74"},"modified":"2022-08-02T10:38:22","modified_gmt":"2022-08-02T08:38:22","slug":"error-generating-web-xml-file-with-intellij-idea-2","status":"publish","type":"post","link":"https:\/\/touk.pl\/blog\/2013\/08\/01\/error-generating-web-xml-file-with-intellij-idea-2\/","title":{"rendered":"Error generating web.xml file with IntelliJ IDEA"},"content":{"rendered":"<p>If you use IntelliJ IDEA for your Grails development you might encounter this error running integration tests:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Error Error generating web.xml file (Use --stacktrace to see the full trace)\r\n<\/pre>\n<p>The reason for this is that IDEA adds classpath by default on creating integration test run configuration. Unfortunately, sometimes it causes strange errors like this one. Follow these steps to resolve:<\/p>\n<ol>\n<li>Open Run \u2192 Edit Configurations&#8230; (or press Alt-Shift-F10)<\/li>\n<li>Select your configuration that fails<\/li>\n<li>Uncheck <strong>Add &#8211;classpath<\/strong> checkbox<\/li>\n<li>You are done! Run.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"If you use IntelliJ IDEA for your Grails development you might encounter this error running integration tests: Error Error generating web.xml file (Use &#8211;stacktrace to see the full trace) The reason for this is that IDEA adds classpath by default on cr&#8230;\n","protected":false},"author":37,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[50,405,30],"class_list":{"0":"post-11682","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-development-design","7":"tag-groovy","8":"tag-ide","9":"tag-testing"},"_links":{"self":[{"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/posts\/11682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/comments?post=11682"}],"version-history":[{"count":3,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/posts\/11682\/revisions"}],"predecessor-version":[{"id":14805,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/posts\/11682\/revisions\/14805"}],"wp:attachment":[{"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/media?parent=11682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/categories?post=11682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/tags?post=11682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}