Thank you Matt,

I ended up using the static.appfuse.org/repository and 2.0.1 from that
repository. All works great. Tests all ran flawlessly.

Thank you very much for taking time out. If you need me to document this
somewhere, please let me know.

Sincerely
Scott





-----Original Message-----
From: Matt Raible [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 08, 2007 11:52 AM
To: [email protected]
Subject: Re: [appfuse-user] Equinox 1.7 Post

You could try changing your Struts version to 2.0.5 and your repo to
the one that supports it (see attached pom.xml).

Unfortunately, I tried this and wasn't able to get things to work.  It
barfs on messages.jsp for some reason:

<%-- ActionError Messages - usually set in Actions --%>
<s:actionerror cssClass="error" id="errorMessages"/>

<%-- FieldError Messages - usually set by validation rules --%>
<s:fielderror cssClass="error" id="errorMessages"/>

<%-- Success Messages --%>
<c:if test="${not empty messages}">
    <div class="message" id="successMessages">
        <c:forEach var="msg" items="${messages}">
            <c:out value="${msg}" escapeXml="false"/><br />
        </c:forEach>
    </div>
    <c:remove var="messages" scope="session"/>
</c:if>

You could also trying changing your pom.xml to have
http://static.appfuse.org/repository - we have 2.0.1 in AppFuse's
repo.

http://static.appfuse.org/repository/org/apache/struts/struts2-core/

Matt


On 2/8/07, Matt Raible <[EMAIL PROTECTED]> wrote:
> I'll work on fixing this right now.
>
> Matt
>
> On 2/8/07, Scott Purcell <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> > OS: Win XP.
> >
> >
> >
> > Downloaded equinox-struts2-hibernate-1.7.zip.
> >
> >
> >
> > Ran ant test (per readme) and it began downloading artifacts. But I
received
> > an error just into it stating the following:
> >
> >
> >
> > [code]
> >
> > BUILD FAILED
> >
> > C:\work\s2hib\build.xml:31: Unable to resolve artifact: required
artifacts
> > missing:
> >
> >   org.apache.struts:struts2-core:jar:2.0.1
> >
> >
> >
> > for the artifact:
> >
> >   org.appfuse:equinox:war:1.7
> >
> > [/code]
> >
> >
> >
> >
> >
> > In the maven file it shows this:
> >
> > <dependency>
> >
> >             <groupId>org.apache.struts</groupId>
> >
> >             <artifactId>struts2-core</artifactId>
> >
> >             <version>2.0.1</version>
> >
> >         </dependency>
> >
> >         <dependency>
> >
> >
> >
> > Is there a way for me to find out which core is available now, and
change
> > this pom file?
> >
> >
> >
> >
> >
> > Also, if this is the wrong forum for these questions, please let me
know.
> >
> >
> >
> > Sincerely
> >
> > Scott
> >
> >
> >
> >
> >
> >
>
>
> --
> http://raibledesigns.com
>


-- 
http://raibledesigns.com

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

Reply via email to