[转]Liferay 6.0.1 / EXT Plugin SDK problems with...

With app server JBoss as target you get error messages if you want to deploy your EXT Plugin.
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"/>



你可能感兴趣的:(ext,liferay)