Hi,
I´m trying to develop an application in JBuilder X Foundation
I created 2 files and saved them in classes folder (where i am holding my .class files) :
1 - hibernate.properties
2 - log4j.properties
And my "...hbm.xml" files are in folder classes\erico (where erico is the name of my package)
when I run the application I receive this message error :
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: log\test.log (O sistema não pode encontrar o caminho especificado)
I'm using log4j-1.2.8.jar in the application classpath and the code of my log4j.properties is :
log4j.rootLogger=INFO, dest1
log4j.appender.dest1=org.apache.log4j.ConsoleAppender
log4j.appender.dest1.layout=org.apache.log4j.PatternLayout
log4j.appender.dest1.layout.ConversionPattern=%d %-5p %-5c{3} %x -> %m%n
What would be my mistake in thsi scenario ?
Thanks
Érico
|