Hue,

I followed Brian's steps (repost of thread below).  It does work.  I can run
in full integration now.

Hi Brian,

Great stuff! Yes, it now works for me, too. I narrowed it down to the
following jars that need to be added to the netbeans/lib directory:

>From Struts:
struts.jar
struts-el.jar
commons-logging.jar

>From bundled TC installation:
servlet.jar

I'm not sure whether it only requires these jars because it is a simple test
project and more complex projects may require more jars but I'm impressed
that you've got it to work!

Are you going to raise this at netbeans as a bug report, as to be honest it
does look more and more as an issue with netbeans?

Hue.




----- Original Message -----
From: "Hue Holleran" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 1:44 AM
Subject: RE: struts-el example app not working?


> Yep, I've been bitten by this one too. There are a few workarounds:
>
> 1) Change the JSP compiler to not compile JSPs:
> http://marc.theaimsgroup.com/?l=struts-user&m=105334711431267&w=2
>
> 2) Workaround by Brian Cross (at end of this thread) - this works well for
> us:
> http://marc.theaimsgroup.com/?l=struts-user&m=105147011604944&w=2
>
> Hope that helps.
>
> Hue.
>
> > -----Original Message-----
> > From: Steve Raeburn [mailto:[EMAIL PROTECTED]
> > Sent: 31 July 2003 06:10
> > To: Struts Users Mailing List
> > Subject: RE: struts-el example app not working?
> >
> >
> > Well, I managed to get it running but I'm definitely not a convert to
> > Netbeans :-(
> >
> >   - In Netbeans, go to the Runtime tab and expand the Explorer view
until
> > you see the 'Internal Tomcat' server.
> >   - Right click on it and change the IDE Integration Mode from Full to
> > Minimum.
> >
> > That seems to get it working. You could also look at the External Tomcat
> > Server feature as an alternative. There's information in the application
> > Help.
> >
> > I think this <http://www.netbeans.org/issues/show_bug.cgi?id=32425> is
the
> > cause of the problem. In any case, this issue is with Netbeans
integration
> > of Tomcat and not with Struts.
> >
> > Related information:
> > James Mitchell has written a guide to setting up a Struts project in
> > Netbeans (version 3.4)
> > <http://jakarta.apache.org/struts/faqs/netbeans.html>. He's using Ant to
> > build and deploy the web application so that probably gets round the
> > problems by avoiding the IDE's build/deploy features.
> >
> > If you have access to WebSphere Studio it is IMHO a *much* more pleasant
> > experience than Netbeans and importing a WAR is straightforward. I
haven't
> > tried Eclipse (on which Websphere Studio is based) with the Sysdeo
plugin
> > for Tomcat, but that would be a cheaper (free!) option than WS Studio.
> >
> > Hope this works for you... now where's that uninstall option :-)
> >
> > Steve
> >
> > > -----Original Message-----
> > > From: Steve Raeburn [mailto:[EMAIL PROTECTED]
> > > Sent: July 30, 2003 7:12 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: struts-el example app not working?
> > >
> > >
> > > I'll try to take a look at Netbeans sometime, but it may not be
> > for a few
> > > days. If I have any success I'll post back to the list and copy
> > > you. If, in
> > > the meantime you find the problem, do post the result here.
> > >
> > > Steve
> > >
> > > > -----Original Message-----
> > > > From: struts [mailto:[EMAIL PROTECTED]
> > > > Sent: July 30, 2003 5:51 PM
> > > > To: Struts Users Mailing List; [EMAIL PROTECTED]
> > > > Subject: Re: struts-el example app not working?
> > > >
> > > >
> > > > Yep the stand alone (Tomcat 4.1) works fine.  Just install the
> > > > struts-el-exercise-taglib.war through
> > > > the tomcat manager and no problems.
> > > > Barry
> > > >
> > > > ----- Original Message -----
> > > > From: "Steve Raeburn" <[EMAIL PROTECTED]>
> > > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, July 30, 2003 4:27 PM
> > > > Subject: RE: struts-el example app not working?
> > > >
> > > >
> > > > > 4.0.6 works for me. I don't remember the details, but I
> > > *think* Netbeans
> > > > has
> > > > > cropped up as a problem before.
> > > > > If you can, try it with a standalone version of Tomcat and
> > > > check the mail
> > > > > archives for Netbeans issues.
> > > > >
> > > > > Steve
> > > > >
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: struts [mailto:[EMAIL PROTECTED]
> > > > > > Sent: July 30, 2003 4:06 PM
> > > > > > To: Struts Users Mailing List; [EMAIL PROTECTED]
> > > > > > Subject: Re: struts-el example app not working?
> > > > > >
> > > > > >
> > > > > > I am running Tomcat 4.0xx
> > > > > > (using netbeans 3.5 with Tomcat bundle)
> > > > > >
> > > > > > Barry
> > > > > >
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Steve Raeburn" <[EMAIL PROTECTED]>
> > > > > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > > > > > Sent: Wednesday, July 30, 2003 4:03 PM
> > > > > > Subject: RE: struts-el example app not working?
> > > > > >
> > > > > >
> > > > > > > Works fine for me with the 1.1 release version on Tomcat
4.1.24.
> > > > > > >
> > > > > > > What container are you running on?
> > > > > > >
> > > > > > > Steve
> > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: struts [mailto:[EMAIL PROTECTED]
> > > > > > > > Sent: July 30, 2003 3:52 PM
> > > > > > > > To: [EMAIL PROTECTED]
> > > > > > > > Subject: struts-el example app not working?
> > > > > > > >
> > > > > > > >
> > > > > > > > Hello,
> > > > > > > >
> > > > > > > > When testing the struts-el example I get the following
error.
> > > > > > > > The problem goes away
> > > > > > > > if I remove:
> > > > > > > >
> > > > > > > > <%@ taglib uri="/WEB-INF/struts-html-el.tld"
> > > prefix="html-el" %>
> > > > > > > >
> > > > > > > > Of course this is useless because the html-el tags do not
> > > > function.
> > > > > > > >
> > > > > > > > I have even tried incorporating the struts-html-el in my
> > > > own app and
> > > > > > > > included all jars from the struts 1.1 release, defined
> > > > the el tld's
> > > > in
> > > > > > my
> > > > > > > > web.xml and I get the same exact error.  Same partial
> > > solution if
> > > > > > > > I remove the
> > > > > > > >
> > > > > > > > <%@ taglib uri="/WEB-INF/struts-html-el.tld"
> > > prefix="html-el" %>
> > > > > > > >
> > > > > > > > the error goes away and the jsp page is displayed and of
> > > > > > course without
> > > > > > > > the properly generated html.
> > > > > > > >
> > > > > > > > Appreciate any suggestions....
> > > > > > > >
> > > > > > > > Barry
> > > > > > > >
> > > > > > > >
> > > > > > > > I get the following error:
> > > > > > > >
> > > > > > > > index.jsp [-1:-1] java.lang.ExceptionInInitializerError
> > > > > > > >         at java.lang.Class.forName0(Native Method)
> > > > > > > >         at java.lang.Class.forName(Class.java:141)
> > > > > > > >         at
> > > > > > > >
> > > org.apache.strutsel.taglib.html.ELLinkTagBeanInfo.class$(ELLinkTag
> > > > > > > > BeanInfo.java:88)
> > > > > > > >         at
> > > > > > > >
> > > org.apache.strutsel.taglib.html.ELLinkTagBeanInfo.getPropertyDescr
> > > > > > > > iptors(ELLinkTagBeanInfo.java:88)
> > > > > > > >         at
> > > > > > > >
> > > > java.beans.Introspector.getTargetPropertyInfo(Introspector.java:459)
> > > > > > > >         at
> > > > java.beans.Introspector.getBeanInfo(Introspector.java:372)
> > > > > > > >         at
> > > > java.beans.Introspector.getBeanInfo(Introspector.java:144)
> > > > > > > >         at
> > > > > > > >
> > > > > >
> > > >
> > >
> >
org.apache.jasper.compiler.TagCache.setTagHandlerClass(TagCache.java:116)
> > > > > > > >         at
> > > > > > > >
> > > org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerato
> > > > > > > > r.java:146)
> > > > > > > >         at
> > > > > > > >
> > > org.netbeans.modules.web.jspparser.AnalyzerParseEventListener.addG
> > > > > > > > enerator(AnalyzerParseEventListener.java:154)
> > > > > > > >         at
> > > > > > > >
> > > org.netbeans.modules.web.jspparser.AnalyzerParseEventListener.hand
> > > > > > > > leTagBegin(AnalyzerParseEventListener.java:962)
> > > > > > > >         at
> > > > > > > >
> > > org.apache.jasper.compiler.DelegatingListener.handleTagBegin(Deleg
> > > > > > > > atingListener.java:221)
> > > > > > > >         at
> > > > > > > >
> > > org.apache.jasper.compiler.DelegatingListener.handleTagBegin(Deleg
> > > > > > > > atingListener.java:216)
> > > > > > > >         at
> > > > > > org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:878)
> > > > > > > >         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(ParserController
> > > > > > > > .java:214)
> > > > > > > >         at
> > > > > > > >
> > > org.netbeans.modules.web.jspparser.JspParserImpl.callTomcatParser(
> > > > > > > > JspParserImpl.java:126)
> > > > > > > >         at
> > > > > > > >
> > > org.netbeans.modules.web.jspparser.JspParserImpl.analyzePage(JspPa
> > > > > > > > rserImpl.java:93)
> > > > > > > >         at
> > > > > > > >
> > > org.netbeans.modules.web.core.jsploader.JspDataObject.createCompil
> > > > > > > > er(JspDataObject.java:297)
> > > > > > > >         at
> > > > > > > >
> > > org.netbeans.modules.web.core.jsploader.JspCompilerSupport.addToJo
> > > > > > > > b(JspCompilerSupport.java:62)
> > > > > > > >         at
> > > > > > > >
> > > org.openide.actions.AbstractCompileAction.prepareJobFor(AbstractCo
> > > > > > > > mpileAction.java:361)
> > > > > > > >         at
> > > > > > > >
> > > org.openide.actions.AbstractCompileAction.createJob(AbstractCompil
> > > > > > > > eAction.java:198)
> > > > > > > >         at
> > > > > > > >
> > > org.openide.actions.AbstractCompileAction.compile(AbstractCompileA
> > > > > > > > ction.java:209)
> > > > > > > >         at
> > > > > > > >
> > > org.netbeans.modules.tomcat.tomcat40.autocompile.CompileServlet.pr
> > > > > > > > ocessRequest(CompileServlet.java:76)
> > > > > > > >         at
> > > > > > > >
> > > org.netbeans.modules.tomcat.tomcat40.autocompile.CompileServlet.do
> > > > > > > > Get(CompileServlet.java:122)
> > > > > > > >         at
> > > > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> > > > > > > >         at
> > > > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > > > > >         at
> > > > > > > >
> > > > > >
> > > >
> > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> > > > > > > >         at
> > > > org.apache.tomcat.core.Handler.service(Handler.java:286)
> > > > > > > >         at
> > > > > > > >
> > > >
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> > > > > > > >         at
> > > > > > > >
> > > org.apache.tomcat.core.ContextManager.internalService(ContextManag
> > > > > > > > er.java:797)
> > > > > > > >         at
> > > > > > > >
> > > >
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> > > > > > > >         at
> > > > > > > >
> > > org.apache.tomcat.service.http.HttpConnectionHandler.processConnec
> > > > > > > > tion(HttpConnectionHandler.java:210)
> > > > > > > >         at
> > > > > > > >
> > > > > >
> > > >
> > >
> >
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> > > > > > > >         at
> > > > > > > >
> > > > > >
> > > >
> > >
> >
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> > > > > > > >         at java.lang.Thread.run(Thread.java:534)
> > > > > > > > Caused by: java.lang.NullPointerException
> > > > > > > >         at
> > > > > > > >
> > > org.apache.struts.util.MessageResources.getMessageResources(Messag
> > > > > > > > eResources.java:577)
> > > > > > > >         at
> > > > > > > >
> > > org.apache.struts.taglib.html.BaseHandlerTag.<clinit>(BaseHandlerT
> > > > > > > > ag.java:108)
> > > > > > > >         ... 38 more
> > > > > > > > Errors compiling index.
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > >
> ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > > > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail:
[EMAIL PROTECTED]
> > > > > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
[EMAIL PROTECTED]
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > ---
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.505 / Virus Database: 302 - Release Date: 30/07/2003
> >
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.505 / Virus Database: 302 - Release Date: 30/07/2003
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to