I am working with a set of jar files which have to be installed in
jre/lib/ext

One of the vendors jar files is a version of log4j.

I was wondering how to configure the
<useSystemClassLoader>true</useSystemClassLoader>
attribute for the surefire plugin in appfuse.

I tried adding the vendor's log4j jar to the maven repository and
dependencies section of my pom.xml because I was originally getting a bunch
of NoClassDefFoundErrors because Maven could not find the classes in the jar
files in jre/lib/ext.  I have a feeling it has to do with surefire's
IsolatedClassLoader.

When I added the dependencies manually I am getting errors related to not
finding properties files and not being able to assign one class loaded by
the SystemExt loader to surefire's Isolated class loader.

I am hoping to get surefire to use the system class loader and remove the
dependencies in my pom.xml.

Does anyone know how to set
the  <useSystemClassLoader>true</useSystemClassLoader> attribute in appfuse.

Regards,
Abe

Reply via email to