You should have <spring.version>3.0.5.RELEASE</spring.version> in your
pom.xml. The available versions in Maven Central can be seen at the
following URL:

http://repo2.maven.org/maven2/org/springframework/spring-test/

On Wed, Nov 17, 2010 at 7:41 PM, Vanessa Pacheco <vpach...@bowmansystems.com
> wrote:

> That doesn't run either. I had to change spring.version to 3 in pom.xml
> soon after i ran the archtype command.
>
> C:\Source\SyncPtSpr3>mvn dependency:tree
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'dependency'.
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-depend
> ency-plugin/2.0/maven-dependency-plugin-2.0.pom<http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-depend%0Aency-plugin/2.0/maven-dependency-plugin-2.0.pom>
>
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-depend
> ency-plugin/2.0/maven-dependency-plugin-2.0.jar<http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-depend%0Aency-plugin/2.0/maven-dependency-plugin-2.0.jar>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building AppFuse Spring MVC Application
> [INFO]    task-segment: [dependency:tree]
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://repo1.maven.org/maven2/org/springframework/spring-test/3/spr
> ing-test-3.pom
> [INFO] Unable to find resource 'org.springframework:spring-test:pom:3' in
> reposi
> tory central (http://repo1.maven.org/maven2)
> Downloading:
> http://repo1.maven.org/maven2/org/springframework/spring-test/3/spr
> ing-test-3.jar<http://repo1.maven.org/maven2/org/springframework/spring-test/3/spr%0Aing-test-3.jar>
> [INFO] Unable to find resource 'org.springframework:spring-test:jar:3' in
> reposi
> tory central (http://repo1.maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.springframework:spring-test:jar:3
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=org.springframework
> -DartifactId=spring
> -test -Dversion=3 -Dpackaging=jar -Dfile=/path/to/file
>
>  Alternatively, if you host your own repository you can deploy the file
> there:
>
>      mvn deploy:deploy-file -DgroupId=org.springframework
> -DartifactId=spring-t
> est -Dversion=3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=
> [id]
>
>  Path to dependency:
>        1) com.bowmansystems:SyncPtSpr3:war:1.0-SNAPSHOT
>        2) org.springframework:spring-test:jar:3
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>  com.bowmansystems:SyncPtSpr3:war:1.0-SNAPSHOT
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2),
>  appfuse-snapshots (
> http://oss.sonatype.org/content/repositories/appfuse-snapsh
> ots)
>
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 7 seconds
> [INFO] Finished at: Wed Nov 17 13:16:20 EST 2010
> [INFO] Final Memory: 23M/56M
> [INFO]
> ------------------------------------------------------------------------
> ----- Original Message -----
> From: "Matt Raible" <m...@raibledesigns.com>
> To: users@appfuse.dev.java.net
> Sent: Wednesday, November 17, 2010 1:10:41 PM (GMT-0500) America/New_York
> Subject: Re: [appfuse-user] userFormController onSubmit()
>
> Can you run "mvn dependency:tree" to see what dependency is trying to point
> to this JAR. It shouldn't be Spring version "3.0.5.RELEASE" rather than "3".
>
>
> On Wed, Nov 17, 2010 at 5:06 PM, Vanessa Pacheco <
> vpach...@bowmansystems.com > wrote:
>
>
> When trying to build (mvn), here's what I get.
>
> Downloading:
> http://repo1.maven.org/maven2/org/springframework/spring-test/3/spr
> ing-test-3.jar
> [INFO] Unable to find resource 'org.springframework:spring-test:jar:3' in
> reposi
> tory central ( http://repo1.maven.org/maven2 )
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.springframework:spring-test:jar:3
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=org.springframework
> -DartifactId=spring
> -test -Dversion=3 -Dpackaging=jar -Dfile=/path/to/file
>
>  Alternatively, if you host your own repository you can deploy the file
> there:
>
>      mvn deploy:deploy-file -DgroupId=org.springframework
> -DartifactId=spring-t
> est -Dversion=3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=
> [id]
>
>  Path to dependency:
>        1) com.bowmansystems:SyncPtSpr3:war:1.0-SNAPSHOT
>        2) org.springframework:spring-test:jar:3
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>  com.bowmansystems:SyncPtSpr3:war:1.0-SNAPSHOT
>
> from the specified remote repositories:
>  central ( http://repo1.maven.org/maven2 ),
>  appfuse-snapshots (
> http://oss.sonatype.org/content/repositories/appfuse-snapsh
> ots)
>
>
> Vanessa
>
>
> ----- Original Message -----
> From: "Matt Raible" < m...@raibledesigns.com >
> To: users@appfuse.dev.java.net
>
>
>
> Sent: Tuesday, November 16, 2010 4:28:20 PM (GMT-0500) America/New_York
> Subject: Re: [appfuse-user] userFormController onSubmit()
>
>
> On Nov 16, 2010 , at 10:19 AM, Vanessa Pacheco wrote:
>
> > Is that Appfuse 2.1.0M2?
> >
> > I did get it, but it still doesn't have pathVariable.
> >
> > I see <spring.version>2.5.6</spring.version> in pom.xml. If I replace
> that with 3, would 3 be downloaded and be used? Also what repurcussions wud
> this have.
>
> Yes. No repercussions should happen.
>
> >
> > Thnx in advance
> > Vanessa
> > ----- Original Message -----
> > From: "Ramzi MAALEJ" < ramzi.atv...@gmail.com >
> > To: users@appfuse.dev.java.net
> > Sent: Monday, November 15, 2010 10:01:47 PM (GMT-0500) America/New_York
> > Subject: Re: [appfuse-user] userFormController onSubmit()
> >
> >
> > a new version of appfuse has been released, it does include Spring 3.
> >
> >
> > On 2010-11-15 13:00, Vanessa Pacheco wrote:
> >> I'm using this tutorial "
> http://viralpatel.net/blogs/2010/11/spring3-mvc-hibernate-maven-tutorial-eclipse-example.html";
> >>
> >> I see that Appfuse 2.x uses spring 2.5.6 (saw this in pom.xml).
> >>
> >> The tutorial uses org.springframework.web.bind.annotation.PathVariable,
> which I think is Spring 3.0. If I change the spring version, will it affect
> anything? Also, would I need to run
> >> "mvn appfuse:full-source", "mvn eclipse:eclipse" again?
> >>
> >> Vanessa
> >> ----- Original Message -----
> >> From: "Josep García"< jgar...@isigma.es >
> >> To: users@appfuse.dev.java.net
> >> Sent: Monday, November 15, 2010 11:13:26 AM (GMT-0500) America/New_York
> >> Subject: Re: [appfuse-user] userFormController onSubmit()
> >>
> >> I suggest you don't use onSubmit. Instead, generate a "deletion url",
> which then does the actual deletion. In Struts2, that would be an action.
> For Spring MVC, I don't know.
> >>
> >> Josep
> >>
> >>
> >> 2010/11/15 Vanessa Pacheco<   vpach...@bowmansystems.com >
> >>
> >>
> >> Hi all,
> >>
> >> So, this is still about my delete button for every row in userList
> table. (userlist.jsp).
> >>
> >> I used 'c:forEach', thus replacing the displaytag. I was able to get the
> delete button/link to show up. However, when I click it, it doesn't do
> anything, because it somehow doesn't call the onSubmit() in
> userFormController. I don't have a form element on the page, cos there was
> never one to begin with. Could someone tell me how to get it to call that
> onSubmit method?
> >>
> >> Attached it the userList.jsp. Am not attaching userFormcontroller
> because I didn't make any changes to it.
> >>
> >> Vanessa
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> >> For additional commands, e-mail: users-h...@appfuse.dev.java.net
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> >> For additional commands, e-mail: users-h...@appfuse.dev.java.net
> >>
> >>
> >
> >
> > --
> > Best regards, Ramzi MAALEJ
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> > For additional commands, e-mail: users-h...@appfuse.dev.java.net
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> > For additional commands, e-mail: users-h...@appfuse.dev.java.net
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

Reply via email to