deploying YF 7.2 + into Weblogic - Failed to compile JSP

When deploying YF 7.2 + into WebLogic and getting an error similar to the following after logging into YF:

Error: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /mi_predashboard.jsp
mi_predashboard.jsp:1:1: The validator class: "org.apache.taglibs.standard.tlv.el.JstlELCoreTLV" has failed with the following exception: "java.lang.NoSuchMethodError:;Ljava/lang/String;)Ljava/lang/String;".
<%! private static final String cvsId = "$Id: mi_predashboard.jsp,v 1.31 2014/07/10 06:36:29 olivier Exp $"; %>

This issue is caused by clashing tag libraries, WebLogic is using Yellowfin's version of the apache tag libs instead of its own. So if the following 2 jar files are deleted from the war file then the issue is resolved:



(see attached screenshot "remove_taglibs.png", and then the other screenshot that shows the YF Config screen working correctly, i.e. I've tested it and it works)

Also, if a client wants a cleaner fix than the above "workaround" then it should be possible to configure WebLogic to use its own tag libs and ignore the Yellowfin ones. Unfortunately we are not WebLogic experts and can't advise how to do this, however a search for apache tag libraries & WebLogic should bring up some documentation on how to do it.

Is this article helpful?
0 0 0