Showing posts with label properties. Show all posts
Showing posts with label properties. Show all posts

Jun 5, 2019

I can't see testng logs in my intellij console

Hi All,

Simple problem. Simple fix.
Validate that your project pom/gradle consist of log4j / slf4j and you aren't using the current logger.
If you have a log4j properties, or like i do the log4j2.xml file,

you need to change the root logger from info to debug for example.



Regards,
Dor

Dec 19, 2010

Element 'filters' cannot have character [children], because the type's content type is element-only. maven

Go this error while adding filter to web.xml.
My mistake was that i forgot creating the <filter> tag inside the <filters>.
I did this:
 <filters>src/main/filters/filter.properties</filters> instead of doing this:
 <filters><filter>src/main/filters/filter.properties</filter></filters>

Minor mistake that can happen in one minute out of focus.

Hoped it helped,
Dor