Grails upgrade from 1.0.4 to 1.1 problems – part 2

If after upgrade to version 1.1 you will be hit by error like this:

 
...
log4j:ERROR Could not read configuration file from URL [file:/C:/GrailsApp/web-app/W
java.io.FileNotFoundException: C:\GrailsApp\web-app\WEB-INF\classes\log4j.properties
...
 

go to web.xml template file in \src\templates\war\ directory of your project and delete lines:

 
...
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>/WEB-INF/classes/log4j.properties</param-value>
</context-param>
...
 

1 Comment »

RSS feed for comments on this post. TrackBack URI

  1. Grails upgrade from 1.0.4 to 1.1 problems – part 2…

    If after upgrade to version 1.1 you will be hit by error like this: … log4j:ERROR Could not read configuration file from URL [file:/C:/GrailsApp/web-app/W java.io.FileNotFoundException: C:GrailsAppweb-appWEB-INFclasseslog4j.properties ……

    Trackback by grailstutorial.org — January 19, 2011 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*

Powered by WordPress with GimpStyle Theme design by Horacio Bella.
Entries and comments feeds. Valid XHTML and CSS.