Ant deploy produces following error messages:
java.lang.NoClassDefFoundError: org/apache/log4j/Level
and
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/xml/DOMConfigurator
workaround:
in $LIFERAY_SDK_HOME/build-common.xml change
<fileset dir="${project.dir}/lib" includes="jsp-api.jar,servlet-api.jar" />
to<fileset dir="${project.dir}/lib" includes="jsp-api.jar,servlet-api.jar,log4j.jar,xercesImpl.jar"/>