Intellij (ultimate) log4j issues when trying to install (ubuntu) -


i've been trying student ultimate intellij edition install on fresh ubuntu installation past 2 days. after reading other threads/apache info apparently can't find configuration file. i've tried adding classpath , files manually. heres error :

log4j:warn no appenders found logger
(io.netty.util.internal.logging.internalloggerfactory). log4j:warn please initialize log4j system properly. log4j:warn see http://logging.apache.org/log4j/1.2/faq.html#noconfig more info. [ 207] warn - #com.intellij.ui.appuiutil - cannot register font: jar:file:/home/overlord/downloads/idea-iu-
143.1821.5/lib/resources.jar!/fonts/inconsolata.ttf java.io.ioexception: problem reading font data.

and bunch of null pointer references since can't load font since cant find customization file(i believe issue)

grep -r log4j gave me:

log4j.properties:log4j.rootlogger=debug, a1 log4j.properties:log4j.appender.a1=org.apache.log4j.consoleappender log4j.properties:log4j.appender.a1.layout=org.apache.log4j.patternlayout log4j.properties:log4j.appender.a1.layout.conversionpattern=%-4r [%t] %-5p %c %x - %m%n log4j.properties:log4j.logger.com.foo=warn idea.sh:classpath="$classpath:$ide_home/lib/log4j.jar" log.xml: log.xml: log.xml: log.xml: log.xml: log.xml: log.xml: log.xml: log.xml: log.xml: log.xml: log.xml: log.xml: log.xml: log.xml: log.xml:

so added ide_home classpath intellij folder thinking couldn't find xml or properties file. realized didn't see xml or property files added log4j.properties both intellij folder , bin. default apache :

# set root logger level debug , appender a1. log4j.rootlogger=debug, # a1 set consoleappender. log4j.appender.a1=org.apache.log4j.consoleappender

# a1 uses patternlayout. log4j.appender.a1.layout=org.apache.log4j.patternlayout log4j.appender.a1.layout.conversionpattern=%-4r [%t] %-5p %c %x - %m%n  # print messages of level warn or above in package com.foo. log4j.logger.com.foo=warn 

still no luck , i'm not sure else can do.

if you're still in trouble or future reference, you've install libxft2

apt-get install libxft2

i need these packages:

apt-get install libxtst6 libxrender1 libxi6


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -