Hi everyone,
I have the following dependency in my project's POM:
...
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
...
The artifact is downloaded to my local repository, but, during the compile
phase, the following error is emitted and the build process is aborted:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project dbtoixattrdt: Compilation failure: Compilation
failure:
[ERROR]
d:\prace\dbtoixattrdt\DBToIXATTRDT-TRUNK\src\main\java\dbtoixattrdt\TraceLogAspect.java:[19,8]
error: cannot find symbol
[ERROR] symbol: method trace(String)
[ERROR] location: variable logger of type Logger
This error message does not make much sense, as the trace method should be
available on the Logger class in Log4J version 1.2.17.
What can be wrong?
Thanks in advance,
Dušan