struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <david.k...@attws.com>
Subject RE: Struts-el Jsp compilation problem
Date Mon, 30 Dec 2002 17:05:57 GMT
It appears that there's some problem getting to your message resources or your Struts configuration,
I'm not sure.  Can you upgrade to a newer stable version of Tomcat?

> -----Original Message-----
> From: Fabrice BLANQUART [mailto:fblanquart@covefi.com]
> 
> Hi,
> 
> I am using Netbeans 3.4 and I try to test struts-el.
> 
> When I try to compile a JSP with a html-el tag like 
> "<html-el:text" I get 
> the following error :
> 
> login.jsp [-1:-1] java.lang.ExceptionInInitializerError
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:130)
>         at 
> org.apache.strutsel.taglib.html.ELTextTagBeanInfo.class$(ELTex
> tTagBeanInfo.java:91)
>         at 
> org.apache.strutsel.taglib.html.ELTextTagBeanInfo.getPropertyD
> escriptors(ELTextTagBeanInfo.java:91)
>         at 
> java.beans.Introspector.getTargetPropertyInfo(Introspector.java:420)
>         at java.beans.Introspector.getBeanInfo(Introspector.java:361)
>         at java.beans.Introspector.getBeanInfo(Introspector.java:132)
>         at 
> org.apache.jasper.compiler.TagCache.setTagHandlerClass(TagCach
> e.java:116)
>         at 
> org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGene
> rator.java:146)
>         at 
> org.netbeans.modules.web.jspparser.AnalyzerParseEventListener.
> addGenerator(AnalyzerParseEventListener.java:156)
>         at 
> org.netbeans.modules.web.jspparser.AnalyzerParseEventListener.
> handleTagBegin(AnalyzerParseEventListener.java:955)
>         at 
> org.apache.jasper.compiler.DelegatingListener.handleTagBegin(D
> elegatingListener.java:221)
>         at 
> org.apache.jasper.compiler.DelegatingListener.handleTagBegin(D
> elegatingListener.java:216)
>         at 
> org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:852)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
>         at 
> org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:892)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
>         at 
> org.apache.jasper.compiler.ParserController.parse(ParserContro
> ller.java:214)
>         at 
> org.netbeans.modules.web.jspparser.JspParserImpl.callTomcatPar
> ser(JspParserImpl.java:130)
>         at 
> org.netbeans.modules.web.jspparser.JspParserImpl.analyzePage(J
> spParserImpl.java:97)
>         at 
> org.netbeans.modules.web.core.jsploader.JspDataObject.createCo
> mpiler(JspDataObject.java:323)
>         at 
> org.netbeans.modules.web.core.jsploader.JspCompilerSupport.add
> ToJob(JspCompilerSupport.java:67)
>         at 
> org.openide.loaders.CompilerSupport.prepareJobFor(CompilerSupp
> ort.java:183)
>         at 
> org.openide.loaders.CompilerSupport.prepareJob(CompilerSupport
> .java:150)
>         at 
> org.openide.actions.AbstractCompileAction.compileNodes(Abstrac
> tCompileAction.java:106)
>         at 
> org.openide.actions.AbstractCompileAction.performAction(Abstra
> ctCompileAction.java:47)
>         at 
> org.openide.util.actions.NodeAction.performAction(NodeAction.java:179)
>         at 
> org.openide.util.actions.NodeAction.actionPerformed(NodeAction
> .java:170)
>         at 
> org.netbeans.core.ModuleActions$1.run(ModuleActions.java:100)
>         at org.openide.util.Task.run(Task.java:136)
>         at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcess
> or.java:599)
> Caused by: java.lang.NullPointerException
>         at 
> org.apache.struts.util.MessageResources.getMessageResources(Me
> ssageResources.java:577)
>         at 
> org.apache.struts.taglib.html.BaseHandlerTag.<clinit>(BaseHand
> lerTag.java:96)
>         ... 34 more
> Errors compiling login.
> 
> I try with the "exercise-taglib" example and I get the same error.
> 
> It seems to be a problem with the Tomcat 4.0.4 jsp compiler.
> 
> Any help to make it work .
> -- 
> Fabrice BLANQUART
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message