*In that case, I'm not sure what the problem could be. * On Tue, Jun 23, 2009 at 1:01 PM, David Brown <dbr...@sexingtechnologies.com>wrote:
> Hello Matt, thanks again. I only see 3 or 4 references to: > org.springframework and they seem to have the version numbers. > > > **************************************************************** > mvn dependency:tree > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'dependency'. > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Sexing Technologies > [INFO] task-segment: [dependency:tree] > [INFO] > ------------------------------------------------------------------------ > [INFO] [dependency:tree] > [INFO] com.sexingtechnologies:sex-cess:war:1.0 > [INFO] +- org.aspectj:aspectjweaver:jar:1.6.0:compile > [INFO] +- org.codehaus.cargo:cargo-ant:jar:0.9:test > [INFO] | +- org.codehaus.cargo:cargo-core-api-generic:jar:0.9:test > [INFO] | | \- org.codehaus.cargo:cargo-core-api-container:jar:0.9:test > [INFO] | | +- org.codehaus.cargo:cargo-core-api-module:jar:0.9:test > [INFO] | | | \- org.codehaus.cargo:cargo-core-api-util:jar:0.9:test > [INFO] | | +- > org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.0:test > [INFO] | | \- ant:ant:jar:1.5.4:test > [INFO] | +- org.codehaus.cargo:cargo-core-container-geronimo:jar:0.9:test > [INFO] | +- org.codehaus.cargo:cargo-core-container-jboss:jar:0.9:test > [INFO] | +- org.codehaus.cargo:cargo-core-container-jetty:jar:0.9:test > [INFO] | +- org.codehaus.cargo:cargo-core-container-jo:jar:0.9:test > [INFO] | +- org.codehaus.cargo:cargo-core-container-orion:jar:0.9:test > [INFO] | +- org.codehaus.cargo:cargo-core-container-resin:jar:0.9:test > [INFO] | +- org.codehaus.cargo:cargo-core-container-tomcat:jar:0.9:test > [INFO] | \- org.codehaus.cargo:cargo-core-container-weblogic:jar:0.9:test > [INFO] +- commons-dbcp:commons-dbcp:jar:1.2.2:compile > [INFO] | \- commons-pool:commons-pool:jar:1.3:compile > [INFO] +- commons-collections:commons-collections:jar:3.2:compile > [INFO] +- commons-lang:commons-lang:jar:2.3:compile > [INFO] +- displaytag:displaytag:jar:1.1.1:compile > [INFO] | +- com.lowagie:itext:jar:1.3:compile > [INFO] | +- commons-beanutils:commons-beanutils:jar:1.7.0:compile > [INFO] | +- org.slf4j:jcl104-over-slf4j:jar:1.4.2:compile > [INFO] | \- org.slf4j:slf4j-log4j12:jar:1.4.2:compile > [INFO] +- org.directwebremoting:dwr:jar:2.0.2:compile > [INFO] +- jmock:jmock:jar:1.1.0:test > [INFO] +- junit:junit:jar:4.4:test > [INFO] +- jwebunit:jwebunit:jar:1.2:test > [INFO] | +- nekohtml:nekohtml:jar:0.8.1:test > [INFO] | +- xml-apis:xml-apis:jar:1.0.b2:test > [INFO] | \- xerces:xercesImpl:jar:2.6.2:test > [INFO] +- httpunit:httpunit:jar:1.6:test > [INFO] | +- xerces:xmlParserAPIs:jar:2.2.1:test > [INFO] | \- jtidy:jtidy:jar:4aug2000r7-dev:test > [INFO] +- org.apache.ibatis:ibatis-sqlmap:jar:2.3.0:compile > [INFO] +- log4j:log4j:jar:1.2.13:compile > [INFO] +- mysql:mysql-connector-java:jar:5.1.6:compile > [INFO] +- javax.servlet:servlet-api:jar:2.4:provided (scope not updated to > compile) > [INFO] +- javax.servlet:jstl:jar:1.1.2:compile > [INFO] +- taglibs:standard:jar:1.1.2:compile > [INFO] +- opensymphony:sitemesh:jar:2.2.1:compile > [INFO] +- org.apache.wicket:wicket:jar:1.3.3:compile > [INFO] | \- org.slf4j:slf4j-api:jar:1.4.2:compile > [INFO] +- org.apache.wicket:wicket-datetime:jar:1.3.3:compile > [INFO] | \- joda-time:joda-time:jar:1.4:compile > [INFO] +- org.apache.wicket:wicket-extensions:jar:1.3.3:compile > [INFO] +- org.apache.wicket:wicket-spring-annot:jar:1.3.3:compile > [INFO] | \- org.apache.wicket:wicket-spring:jar:1.3.3:compile > [INFO] | \- org.apache.wicket:wicket-ioc:jar:1.3.3:compile > [INFO] | \- cglib:cglib-nodep:jar:2.1_3:compile > [INFO] +- org.springframework:spring:jar:2.5.4:compile > [INFO] | \- commons-logging:commons-logging:jar:1.1.1:compile > [INFO] +- org.springframework:spring-webmvc:jar:2.5.4:compile > [INFO] \- org.springframework:spring-test:jar:2.5.4:test > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 5 seconds > [INFO] Finished at: Tue Jun 23 13:40:34 CDT 2009 > [INFO] Final Memory: 15M/29M > [INFO] > ------------------------------------------------------------------------ > > > ----- Original Message ----- > From: "Matt Raible" <m...@raibledesigns.com> > To: users@appfuse.dev.java.net > Sent: Tuesday, June 23, 2009 1:34:25 PM GMT -06:00 US/Canada Central > Subject: Re: [appfuse-user] appfuse WebTestCase: UserWebTest (test) not > running under: mvn test > > The NoSuchMethodError is likely caused by a dependency that shouldn't be > there. Try running "mvn dependency:tree" and see if you see different > Spring > version numbers. > > On Tue, Jun 23, 2009 at 12:28 PM, David Brown < > dbr...@sexingtechnologies.com > > wrote: > > > Hello Matt, thanks for the reply and sorry to waste your time. This is > what > > happens when I use the IDE wizard to generate a class instead of > handcoding. > > Doh! In an effort to widdle down the issue I have replicated the appfuse > app > > as a wicket quickstart app. And, the only test I have is the > > xxxManagerTest.java. Now, I am getting the following testcase error > > exception. I suspect this is a dependency in the pom satisfied by the > wrong > > jar. Meanwhile I will try Google and EE. Regards, David. > > > > > > ************************************************ > > NoSuchMethodError: org.springframework.util.ObjectUtils.isEmpty > > > > > > ----- Original Message ----- > > From: "Matt Raible" <m...@raibledesigns.com> > > To: users@appfuse.dev.java.net > > Sent: Tuesday, June 23, 2009 11:18:09 AM GMT -06:00 US/Canada Central > > Subject: Re: [appfuse-user] appfuse WebTestCase: UserWebTest (test) not > > running under: mvn test > > > > Is xxxModel.java an interface? BaseObject is a class, so that might be > the > > issue. > > > > Matt > > > > On Tue, Jun 23, 2009 at 8:41 AM, David Brown > > <dbr...@sexingtechnologies.com>wrote: > > > > > Hello Matt, thanks for the helpful and speedy reply. I have briefly > read > > > the Spring Service interface doco and I applied the @Qualifier but no > > > change. Maybe unrelated but before I dive into the vast Spring doco I > > > thought I would briefly note that my model object corresponding to the > > > User.java model which extends BaseObject does not translate to a new > > model > > > object: xxxModel.java. When I try to extend a new model object: > > > xxxModel.java using BaseObject the compiler complains as follows. Both > > > classes are in the same package. Regards and please advises, David. > > > > > > > > > type BaseObject cannot be a superinterface of xxxModel; a > superinterface > > > must be an interface > > > > > > > > > > > > ----- Original Message ----- > > > From: "Matt Raible" <m...@raibledesigns.com> > > > To: users@appfuse.dev.java.net > > > Sent: Tuesday, June 23, 2009 8:37:28 AM GMT -06:00 US/Canada Central > > > Subject: Re: [appfuse-user] appfuse WebTestCase: UserWebTest (test) not > > > running under: mvn test > > > > > > That is strange and I'm not sure why it's happening. You might look > into > > > the > > > @Service annotation a bit more and see if a @Qualifier helps you. > > > > > > Matt > > > > > > On Mon, Jun 22, 2009 at 7:02 PM, David Brown > > > <dbr...@sexingtechnologies.com>wrote: > > > > > > > Hello Matt, thanks for the speedy and informative reply (and it > > worked). > > > > Now, I am back at just [testing]: I have 4 testcases that mirror and > > are > > > > parallel to the appfuse testcases: UserListTest, UserFormTest, > > > > UserManagerTest and UserManagerImplTest. The UserManagerImplTest is > key > > > as > > > > my corrsponding xxxManagerImpl.java contains the annotation: > > > > > > > > @Service(value = "xxxManager") > > > > > > > > > > > > When I run the maven tests I get the surefire test with the > following: > > > > > > > > > > > > Unsatisfied dependency expressed through bean property 'xxXManager' > > > > <--- (one uppercase letter) > > > > > > > > > > > > And, of course the dependency is not satisfied because there is no > such > > > > bean as: xxXManger only as defined in the xxxManagerImpl.java (as > > stated > > > > above) which is namely: xxxManager. > > > > > > > > If I edit xxxManagerImpl to reflect: > > > > > > > > @Service(value = "xxXManager") then the surefire tests (xxxFormTest > and > > > > xxxListTest) will state: > > > > > > > > No bean named 'xxxManager' is defined > > > > > > > > How to debug this? > > > > > > > > Any help or suggestions appreciated. Regards, David. > > > > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Matt Raible" <m...@raibledesigns.com> > > > > To: users@appfuse.dev.java.net > > > > Sent: Monday, June 22, 2009 2:59:05 PM GMT -06:00 US/Canada Central > > > > Subject: Re: [appfuse-user] appfuse WebTestCase: UserWebTest (test) > not > > > > running under: mvn test > > > > > > > > It runs in the integration-test phase, not the test phase. > > > > > > > > Matt > > > > > > > > On Sun, Jun 21, 2009 at 12:52 PM, David Brown < > > > > dbr...@sexingtechnologies.com > > > > > wrote: > > > > > > > > > Hello Matt and appfuser folks, I have an [ant new] > > > > > appfuser-wicket-spring-ibatis application in dev. All of the > > > > out-of-the-box > > > > > tests the extend: AbstractTransactionalDataSourceSpringContextTests > > are > > > > > running. But the UserWebTest test extends: WebTestCase but does not > > > show > > > > up > > > > > in the Console list of tests executed. Is there some missed config > to > > > > turn > > > > > on testing for the web testing units? Previously, I have been able > to > > > > simply > > > > > add a test unit to the web/pages directory and the test is > executed. > > > None > > > > of > > > > > the web/ directory pages are executed. Please advise, David. > > > > > > > > > > > --------------------------------------------------------------------- > > > > > 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 > >