if(!StringUtils.isEmpty(getClassesDirPath(new File(tempDir)))) {
JarClassLoader jcl = null;
if(embed) {
jcl = ((PDFMetadataDefinition)ThreadLocalUtil.get(ChameleonConstants.PDF_METADATA_DEFINITION)).getEarDefinition().getJcl();
}
<BUG>if(jcl == null) {
jcl = new JarClassLoader();
jcl.add(this.getClass().getResource("/lib/ejb-api-3.0.jar"));
jcl.add(this.getClass().getResource("/lib/javax.servlet-api-3.0.1.jar"));
jcl.add(this.getClass().getResource("/lib/javaee-api-6.0.jar"));
jcl.add(this.getClass().getResource("/lib/weblogic.jar"));
jcl.add(this.getClass().getResource("/lib/jeus.jar"));
analyzeDefinition.setJcl(jcl);
}</BUG>
List<String> pathList = analyzeDefinition.getLibraryFullPathList();

if(!StringUtils.isEmpty(getClassesDirPath(new File(tempDir)))) {
JarClassLoader jcl = null;
if(embed) {
jcl = ((PDFMetadataDefinition)ThreadLocalUtil.get(ChameleonConstants.PDF_METADATA_DEFINITION)).getEarDefinition().getJcl();
}
List<String> pathList = analyzeDefinition.getLibraryFullPathList();
