More detailed:

I've (in 'Maven&Properties') explicit in A.java path to my file
94   Properties configFile = new Properties();
95   configFile.load(A.class.getResourceAsStream("/A.ini"));

For log4j things I have only:

...
 public static Logger logger = Logger.getLogger("A");
...

There is no explicit reference to, where is the log4j.properties file.

therefore the task is more difficult.
 

buters wrote:
> 
> Hi,
> 
> my problem:
> analog to Maven&Properties
> 
> the application can not find log4j.properties. It is located in
> src/main/resorces and a copy in lib. But I get an error:
> 'log4j:ERROR Could not connect to remote log4j server at [localhost]. We
> will try again later.
> java.net.ConnectException: Connection refused: connect'
> 
> Thanks beforehand,
> regards, buters
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-Properties2-tp18193998p18194332.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to