You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rick Reumann <ma...@reumann.net> on 2002/04/11 01:56:53 UTC

Re[3]: If I can't use 1.1beta, how difficult will it be...

Ok, getting closer. Marcelo, you helped big time with the first problem
and this last post about the key MESSAGE thing was my fault also
(shocker:). That's fixed also. So I think this is closer to working
under 9ias.

Problem now is this error occurring in the background when the page
loads up (the page displays, but validation doesn't occur either):

Web-App utilities:web (0.0.0.0/0.0.0.0:8888/utilities) started...
java.lang.NullPointerException
        java.lang.Object org.apache.commons.beanutils.converters.StringConverter.convert(java.lang.Class, java.
lang.Object)
        java.lang.Object org.apache.commons.beanutils.ConvertUtils.convert(java.lang.String, java.lang.Class)
        void org.apache.commons.digester.CallMethodRule.end()
        void org.apache.commons.digester.Digester.endElement(java.lang.String, java.lang.String, java.lang.Stri
ng)

Sorry to be annoying with all these posts. I just don't get it because
like I mentioned the files are still working fine under Tomcat.








Re: If I can't use 1.1beta, how difficult will it be...
On Wednesday, April 10, 2002, 7:39:01 PM, Rick wrote:

RR> Sorry to take a while to get back to you. Was making sure I
RR> checked over everything again. I made sure that I was now
RR> referencing 1.1DTD (which I wasn't so thank you). That definitely
RR> helped get me passed the error in the console, but now the JSP
RR> page won't display and I get

RR> Cannot find message resources under key org.apache.struts.action.MESSAGE

RR> As someone in the archives mentioned add
RR> key="org.apache.struts.action.MESSAGE" in the message-resources tag in
RR> the struts-config file, which I did, but still the same error.

RR> If it helps the underlying error in the console window is:
RR> Web-App utilities:web (0.0.0.0/0.0.0.0:8888/utilities) started...
RR> org.xml.sax.SAXParseException: Missing whitespace before SYSTEM literal URI.
RR>         void org.apache.crimson.parser.Parser2.fatal(java.lang.String, java.l
RR> .Object[], java.lang.Exception)
RR>   ....

RR> Thanks for trying to help me with this Marcelo, I appreciate it.


RR> On Wednesday, April 10, 2002, 7:26:21 PM, Marcelo wrote:

MV>> Rick Reumann wrote:
>>> Web-App utilities:web (0.0.0.0/0.0.0.0:8888/utilities) started...
>>> org.xml.sax.SAXParseException: Element "struts-config" allows no further input; "message-resources" is
>>> not allo
>>> wed.


MV>>         I'll ask again: have you checked if the DOCTYPE declaration in your 
MV>> struts-config.xml is referencing the struts-config 1.1. DTD, instead of 
MV>> the old 1.0?





-- 

Rick
mailto:maillist@reumann.net

"If you go parachuting, and your parachute doesn't open, and you
friends are all watching you fall, I think a funny gag would be to
pretend you were swimming." 
  -Jack Handey


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Re[3]: If I can't use 1.1beta, how difficult will it be...

Posted by Martin Cooper <ma...@tumbleweed.com>.
It may be that either your struts-config.xml or your web.xml is not
well-formed. If you're using (or have access to) a Windows system, try
opening these files up in IE - that will display any errors in the
well-formed-ness of these files.

--
Martin Cooper


----- Original Message -----
From: "Rick Reumann" <ma...@reumann.net>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, April 10, 2002 4:56 PM
Subject: Re[3]: If I can't use 1.1beta, how difficult will it be...


> Ok, getting closer. Marcelo, you helped big time with the first problem
> and this last post about the key MESSAGE thing was my fault also
> (shocker:). That's fixed also. So I think this is closer to working
> under 9ias.
>
> Problem now is this error occurring in the background when the page
> loads up (the page displays, but validation doesn't occur either):
>
> Web-App utilities:web (0.0.0.0/0.0.0.0:8888/utilities) started...
> java.lang.NullPointerException
>         java.lang.Object
org.apache.commons.beanutils.converters.StringConverter.convert(java.lang.Cl
ass, java.
> lang.Object)
>         java.lang.Object
org.apache.commons.beanutils.ConvertUtils.convert(java.lang.String,
java.lang.Class)
>         void org.apache.commons.digester.CallMethodRule.end()
>         void
org.apache.commons.digester.Digester.endElement(java.lang.String,
java.lang.String, java.lang.Stri
> ng)
>
> Sorry to be annoying with all these posts. I just don't get it because
> like I mentioned the files are still working fine under Tomcat.
>
>
>
>
>
>
>
>
> Re: If I can't use 1.1beta, how difficult will it be...
> On Wednesday, April 10, 2002, 7:39:01 PM, Rick wrote:
>
> RR> Sorry to take a while to get back to you. Was making sure I
> RR> checked over everything again. I made sure that I was now
> RR> referencing 1.1DTD (which I wasn't so thank you). That definitely
> RR> helped get me passed the error in the console, but now the JSP
> RR> page won't display and I get
>
> RR> Cannot find message resources under key
org.apache.struts.action.MESSAGE
>
> RR> As someone in the archives mentioned add
> RR> key="org.apache.struts.action.MESSAGE" in the message-resources tag in
> RR> the struts-config file, which I did, but still the same error.
>
> RR> If it helps the underlying error in the console window is:
> RR> Web-App utilities:web (0.0.0.0/0.0.0.0:8888/utilities) started...
> RR> org.xml.sax.SAXParseException: Missing whitespace before SYSTEM
literal URI.
> RR>         void org.apache.crimson.parser.Parser2.fatal(java.lang.String,
java.l
> RR> .Object[], java.lang.Exception)
> RR>   ....
>
> RR> Thanks for trying to help me with this Marcelo, I appreciate it.
>
>
> RR> On Wednesday, April 10, 2002, 7:26:21 PM, Marcelo wrote:
>
> MV>> Rick Reumann wrote:
> >>> Web-App utilities:web (0.0.0.0/0.0.0.0:8888/utilities) started...
> >>> org.xml.sax.SAXParseException: Element "struts-config" allows no
further input; "message-resources" is
> >>> not allo
> >>> wed.
>
>
> MV>>         I'll ask again: have you checked if the DOCTYPE declaration
in your
> MV>> struts-config.xml is referencing the struts-config 1.1. DTD, instead
of
> MV>> the old 1.0?
>
>
>
>
>
> --
>
> Rick
> mailto:maillist@reumann.net
>
> "If you go parachuting, and your parachute doesn't open, and you
> friends are all watching you fall, I think a funny gag would be to
> pretend you were swimming."
>   -Jack Handey
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>