The problem is likely that you added a path separator to a path that already ended with a path separator.
The solution is NOT to remove the path separator. Messing with file paths in a web application is asking for trouble.
The properties file should be at the root of your classpath. If so, I believe you don't have to write a context listener to configure log4j, log4j will automatically pick it up.
Put your configuration file in src/main/resources and
Maven will copy it to the correct location.