error:log4j:WARN No appenders could be found for logger (l2s.gameserver.GameServer).

Тема в разделе "Bugs / Баги и решения", создана пользователем FlashKiller, 7 фев 2022.

  1. FlashKiller

    FlashKiller Новичок

    Регистрация:
    7 фев 2022
    Сообщения:
    2
    Симпатии:
    0
    The following error is displayed when the server is running.

    Starting GameServer.

    log4j:WARN No appenders could be found for logger (l2s.gameserver.GameServer).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
    Exception in thread "main" java.lang.NullPointerException: Cannot invoke "l2s.commons.net.HostInfo.getAddress()" because the return value of "l2s.gameserver.config.xml.holder.HostsConfigHolder.getAuthServerHost()" is null
    at l2s.gameserver.config.xml.holder.HostsConfigHolder.log(HostsConfigHolder.java:65)
    at l2s.commons.data.xml.AbstractParser.load(AbstractParser.java:155)
    at l2s.gameserver.config.xml.ConfigParsers.parseAllOnLoad(ConfigParsers.java:13)
    at l2s.gameserver.GameServer.<init>(GameServer.java:177)
    at l2s.gameserver.GameServer.main(GameServer.java:584)

    Server terminated abnormaly ...


    Server terminated ...


    Can anyone tell me how to fix this error?
     

Партнеры