Pages

Tuesday, 22 July 2014

Appender hasnt been setup so log4j hasnt been properly initialized

  1. The problem is that the log4j.properties file isn't included in the classpath (it's in the same folder as your Eclipse build path, but Eclipse doesn't have it in its “runtime classpath”.
  2. To add the log4j.properties file to the Eclipse classpath, click on the Run menu and select the Run Configurations option. Select the Classpath tab. Left-click on the “User Entries” item and then select the Advanced … option. Click the Add External Folder option and then click OK button. Navigate to the folder where you unzipped the crawler4j-x.x zip file and select it.
  3. https://code.google.com/p/crawler4j/wiki/StepByStepTutorial

No comments:

Post a Comment