Try to delete your local repository and run it again.
On 2010-11-17 11:06, Vanessa Pacheco 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
--
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