I placed the log4j-1.2.16.jar under WEB-INF\llib\ in server code, I write the following
class DBConnection{ private static Logger logger = Logger.getLogger(DBConnection.class); public static Connection getConnection(){ PropertyConfigurator.configure("server_resources/log4j.properties"); then the console show error: java.io.FileNotFoundException: server_resources\log4j.properties (the system cannot find the path specified) how to make it found the log4j.properties? I try to copy the server_resources/log4j.properties under web-inf and placed inside war, it is ok and no error, but I want it placed under WEB-inf, no method if placed under web-inf? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.