2 Replies Latest reply on Feb 28, 2013 10:11 PM by VatsalGupta

    Class file not getting generated for jsp tag file

    VatsalGupta

      We have a jsp tag file which we use for a custom tag in our jsps.

      We are facing an issue that the class file for this tag file is generated only sometimes and not everytime when we deploy the code.  We get NoClassDefFound error on runtime even if there are no changes in the tag file.

      The class file should be generated at the following path-

      /var/classes/org/apache/jsp/tag/web/apps/<myapp>/components/<myfile_tag>.class

      /var/classes/org/apache/jsp/tag/web/apps/<myapp>/components/<myfile_tag>.java

       

      There are other tag files also in our code-base but we face issue in this particular tag file only. Sometimes when the same code is deployed on different environments, the class file is generated on one environment and not in another. E.g. it is generated on author instance and not on publish instance.

       

      If anyone has faced such issue of class file not getting generated from tag file,  please let us know the resolution.

      Or any pointers for identifying any problem in specific tag file which could cause this issue will also be helpful.

       

      Please let me know if any further details are required to clarify the issue.

       

      Thanks,

      Vatsal