Hi experts,
I'm no expert in this area and doing some quick code tweaks in a PAR file but have hit some error on com.sapportals.portal.prt.servlets_jsp.server.jsp.ParseException: java.lang.ClassNotFoundException for com.<abc>.pct.<def>.taglib.collection.IterateCollectionFiltered. This class was referenced in a tld file in the taglib folder as follows:
<tag>
<name>iterateCollectionFiltered</name>
<tagclass>com.<abc>.pct.<def>.taglib.collection.IterateCollectionFiltered</tagclass>
<body-content>JSP</body-content>
...
I presume from the error that tt's not able to find the class. Where is it trying to find the class? Within the PAR application? Or another application in the Portal?
Thanks,
ZM
This problem is coming because when you import the parfile in NWDS the jar files are not automatically imported.
Follow the steps below
1. Extract the par file using winrar or winzip.
2. In folder PORTAL-INF\private\lib you will find the required jar file
3. Manually import this jar file in NWDS.
4. Rebuild, Export and deploy the [ar file.
Revert if you face any issues.
Thanks
Prashant
Hi Prashant,
Appreciate the prompt response. I've saved it as a par file and extracted with winrar as u stated, but it doesn't have "portal-inf" that seems to only appear if you open it using NWDS. It only shows the following folders when using winrar. And I couldnt find the jar file either. Only found core.ar, api.jar, core.src.jar, api.src.jar.
META-INF
jsp
lib
private
srclib.api
srclib.core
taglib
work
Thanks,
ZM
Add a comment