users@glassfish.java.net

Glassfish Precompile Jsps error: java.lang.AbstractMethodError

From: <glassfish_at_javadesktop.org>
Date: Fri, 25 Jul 2008 11:35:46 PDT

I have been unable to successfully use the Precompile JSPs option when deploying web apps on Glassfish. I keep getting the following error in the log file:

[#|2008-07-25T11:05:05.016-0700|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=64;_ThreadName=Thread-1145;|Beginning JSP Precompile...|#]

[#|2008-07-25T11:05:05.469-0700|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=64;_ThreadName=Thread-1145;|Finished JSP Precompile...|#]

[#|2008-07-25T11:05:06.657-0700|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=64;_ThreadName=Thread-1145;_RequestID=f4e09d21-108d-454d-ad03-f934d22ca0f7;|Exception occured in J2EEC Phase
java.lang.AbstractMethodError
        at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:226)
        at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:274)
        at org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:374)
        at org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:312)
        at org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.java:272)
        at org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:556)
        at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:480)
        at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:562)
        at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1626)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:165)
        at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:223)
        at org.apache.jasper.compiler.ParserController.parse(ParserController.java:124)
        at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:184)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:409)
        at org.apache.jasper.JspC.processFile(JspC.java:1150)
        at org.apache.jasper.JspC.execute(JspC.java:1319)
        at com.sun.enterprise.deployment.backend.JSPCompiler.compile(JSPCompiler.java:110)
        at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:203)
        at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:179)
        at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
        at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
        at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
        at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
|#]


I can deploy without precompiling just fine. But why am I getting this error and what is a workaround?
[Message sent by forum member 'chile62' (chile62)]

http://forums.java.net/jive/thread.jspa?messageID=289428