Thanks for the help! Tried svn revert pom.xml. No joy. I then put the below dependencies in pom.xml in the dependencies section.
I now get: Sancho-Panza:~/dev/firstworldtoys gregederer$ mvn test -Dtest=ManufacturerDaoTest [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building AppFuse Spring MVC Application [INFO] task-segment: [test] [INFO] ---------------------------------------------------------------------------- Downloading: http://repo1.maven.org/maven2/org/springmodules/spring-modules-validation/${springmodules.validation.version}/spring-modules-validation-${springmodules.validation.version}.pom Downloading: http://static.appfuse.org/repository/org/springmodules/spring-modules-validation/${springmodules.validation.version}/spring-modules-validation-${springmodules.validation.version}.pom Downloading: http://repo1.maven.org/maven2/org/codehaus/xfire/bcprov-jdk15/133/bcprov-jdk15-133.pom Downloading: http://static.appfuse.org/repository/org/codehaus/xfire/bcprov-jdk15/133/bcprov-jdk15-133.pom Downloading: http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom Downloading: http://static.appfuse.org/repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom Downloading: http://repo1.maven.org/maven2/wss4j/wss4j/1.5.1/wss4j-1.5.1.pom Downloading: http://static.appfuse.org/repository/wss4j/wss4j/1.5.1/wss4j-1.5.1.pom Downloading: http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom Downloading: http://static.appfuse.org/repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom Downloading: http://repo1.maven.org/maven2/com/firstworldtoys/appfuse-web-common/1.0-SNAPSHOT/appfuse-web-common-1.0-SNAPSHOT.pom Downloading: http://static.appfuse.org/repository/com/firstworldtoys/appfuse-web-common/1.0-SNAPSHOT/appfuse-web-common-1.0-SNAPSHOT.pom Downloading: http://repo1.maven.org/maven2/commons-fileupload/commons-fileupload/${commons.fileupload.version}/commons-fileupload-${commons.fileupload.version}.pom Downloading: http://static.appfuse.org/repository/commons-fileupload/commons-fileupload/${commons.fileupload.version}/commons-fileupload-${commons.fileupload.version}.pom Downloading: http://repo1.maven.org/maven2/displaytag/displaytag/${displaytag.version}/displaytag-${displaytag.version}.pom Downloading: http://static.appfuse.org/repository/displaytag/displaytag/${displaytag.version}/displaytag-${displaytag.version}.pom Downloading: http://repo1.maven.org/maven2/displaytag/displaytag/${displaytag.version}/displaytag-${displaytag.version}.jar Downloading: http://static.appfuse.org/repository/displaytag/displaytag/${displaytag.version}/displaytag-${displaytag.version}.jar Downloading: http://repo1.maven.org/maven2/com/firstworldtoys/appfuse-web-common/1.0-SNAPSHOT/appfuse-web-common-1.0-SNAPSHOT.war Downloading: http://static.appfuse.org/repository/com/firstworldtoys/appfuse-web-common/1.0-SNAPSHOT/appfuse-web-common-1.0-SNAPSHOT.war Downloading: http://repo1.maven.org/maven2/commons-fileupload/commons-fileupload/${commons.fileupload.version}/commons-fileupload-${commons.fileupload.version}.jar Downloading: http://static.appfuse.org/repository/commons-fileupload/commons-fileupload/${commons.fileupload.version}/commons-fileupload-${commons.fileupload.version}.jar Downloading: http://repo1.maven.org/maven2/com/firstworldtoys/appfuse-web-common/1.0-SNAPSHOT/appfuse-web-common-1.0-SNAPSHOT.war Downloading: http://static.appfuse.org/repository/com/firstworldtoys/appfuse-web-common/1.0-SNAPSHOT/appfuse-web-common-1.0-SNAPSHOT.war Downloading: http://repo1.maven.org/maven2/org/springmodules/spring-modules-validation/${springmodules.validation.version}/spring-modules-validation-${springmodules.validation.version}.jar Downloading: http://static.appfuse.org/repository/org/springmodules/spring-modules-validation/${springmodules.validation.version}/spring-modules-validation-${springmodules.validation.version}.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) displaytag:displaytag:jar:${displaytag.version} Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=displaytag -DartifactId=displaytag \ -Dversion=${displaytag.version} -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=displaytag -DartifactId=displaytag \ -Dversion=${displaytag.version} -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.firstworldtoys:firstworldtoys:war:1.0-SNAPSHOT 2) displaytag:displaytag:jar:${displaytag.version} 2) com.firstworldtoys:appfuse-web-common:warpath:1.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.firstworldtoys -DartifactId=appfuse-web-common \ -Dversion=1.0-SNAPSHOT -Dpackaging=warpath -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.firstworldtoys -DartifactId=appfuse-web-common \ -Dversion=1.0-SNAPSHOT -Dpackaging=warpath -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.firstworldtoys:firstworldtoys:war:1.0-SNAPSHOT 2) com.firstworldtoys:appfuse-web-common:warpath:1.0-SNAPSHOT 3) commons-fileupload:commons-fileupload:jar:${commons.fileupload.version} Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=commons-fileupload -DartifactId=commons-fileupload \ -Dversion=${commons.fileupload.version} -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=commons-fileupload -DartifactId=commons-fileupload \ -Dversion=${commons.fileupload.version} -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.firstworldtoys:firstworldtoys:war:1.0-SNAPSHOT 2) commons-fileupload:commons-fileupload:jar:${commons.fileupload.version} 4) com.firstworldtoys:appfuse-web-common:war:1.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.firstworldtoys -DartifactId=appfuse-web-common \ -Dversion=1.0-SNAPSHOT -Dpackaging=war -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.firstworldtoys -DartifactId=appfuse-web-common \ -Dversion=1.0-SNAPSHOT -Dpackaging=war -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.firstworldtoys:firstworldtoys:war:1.0-SNAPSHOT 2) com.firstworldtoys:appfuse-web-common:war:1.0-SNAPSHOT 5) org.springmodules:spring-modules-validation:jar:${springmodules.validation.version} Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.springmodules -DartifactId=spring-modules-validation \ -Dversion=${springmodules.validation.version} -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.springmodules -DartifactId=spring-modules-validation \ -Dversion=${springmodules.validation.version} -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.firstworldtoys:firstworldtoys:war:1.0-SNAPSHOT 2) org.springmodules:spring-modules-validation:jar:${springmodules.validation.version} ---------- 5 required artifacts are missing. for artifact: com.firstworldtoys:firstworldtoys:war:1.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), appfuse (http://static.appfuse.org/repository) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7 seconds [INFO] Finished at: Fri Aug 31 20:49:38 PDT 2007 [INFO] Final Memory: 11M/20M [INFO] ------------------------------------------------------------------------ mraible wrote: > > It looks like it might have failed to add all the dependencies from > appfuse-web-common and appfuse-spring. Did you backup your project > before running it? You might try restoring that backup and running it > again. Otherwise, you could manually add the dependencies. Below are > the ones for appfuse-spring: > > <dependency> > <groupId>${pom.groupId}</groupId> > <artifactId>appfuse-web-common</artifactId> > <version>${pom.version}</version> > <type>war</type> > </dependency> > <dependency> > <groupId>${pom.groupId}</groupId> > <artifactId>appfuse-web-common</artifactId> > <version>${pom.version}</version> > <type>warpath</type> > </dependency> > <dependency> > <groupId>commons-fileupload</groupId> > <artifactId>commons-fileupload</artifactId> > <version>${commons.fileupload.version}</version> > </dependency> > <dependency> > <groupId>displaytag</groupId> > <artifactId>displaytag</artifactId> > <version>${displaytag.version}</version> > </dependency> > <dependency> > <groupId>org.subethamail</groupId> > <artifactId>subethasmtp-wiser</artifactId> > <version>${wiser.version}</version> > <scope>test</scope> > </dependency> > <!-- Dependencies with scope=provided aren't picked up from > dependent JARs --> > <dependency> > <groupId>javax.servlet</groupId> > <artifactId>jsp-api</artifactId> > <version>${jsp.version}</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>javax.servlet</groupId> > <artifactId>servlet-api</artifactId> > <version>${servlet.version}</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.springmodules</groupId> > <artifactId>spring-modules-validation</artifactId> > <version>${springmodules.validation.version}</version> > <exclusions> > <exclusion> > <groupId>xml-apis</groupId> > <artifactId>xml-apis</artifactId> > </exclusion> > </exclusions> > </dependency> > <dependency> > <groupId>${jdbc.groupId}</groupId> > <artifactId>${jdbc.artifactId}</artifactId> > <version>${jdbc.version}</version> > </dependency> > > Matt > > On 8/31/07, gederer <[EMAIL PROTECTED]> wrote: >> >> Hmm. Now it can't find a whole lot of stuff. >> >> Thanks for the quick reply! >> >> After mvn clean: >> >> Sancho-Panza:~/dev/firstworldtoys gregederer$ mvn test >> -Dtest=ManufacturerDaoTest >> [INFO] Scanning for projects... >> [INFO] >> ---------------------------------------------------------------------------- >> [INFO] Building AppFuse Spring MVC Application >> [INFO] task-segment: [test] >> [INFO] >> ---------------------------------------------------------------------------- >> [INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}] >> [INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}] >> [INFO] [resources:resources] >> [INFO] Using default encoding to copy filtered resources. >> [INFO] [compiler:compile] >> [INFO] Compiling 91 source files to >> /Users/gregederer/dev/firstworldtoys/target/classes >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Compilation failure >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/util/ValidationUtil.java:[3,36] >> package org.apache.commons.validator does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/util/ValidationUtil.java:[4,36] >> package org.apache.commons.validator does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/util/ValidationUtil.java:[5,36] >> package org.apache.commons.validator does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/util/ValidationUtil.java:[6,41] >> package org.apache.commons.validator.util does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/util/ValidationUtil.java:[8,44] >> package org.springmodules.validation.commons does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/util/ValidationUtil.java:[31,57] >> cannot find symbol >> symbol : class ValidatorAction >> location: class org.appfuse.webapp.util.ValidationUtil >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/util/ValidationUtil.java:[32,44] >> cannot find symbol >> symbol : class Field >> location: class org.appfuse.webapp.util.ValidationUtil >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/dao/BaseDaoTestCase.java:[12,32] >> package org.springframework.test does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/dao/BaseDaoTestCase.java:[20,46] >> cannot find symbol >> symbol: class AbstractTransactionalDataSourceSpringContextTests >> public abstract class BaseDaoTestCase extends >> AbstractTransactionalDataSourceSpringContextTests { >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/CurrencyConverter.java:[3,36] >> package org.apache.commons.beanutils does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/CurrencyConverter.java:[4,36] >> package org.apache.commons.beanutils does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/CurrencyConverter.java:[18,42] >> cannot find symbol >> symbol: class Converter >> public class CurrencyConverter implements Converter { >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/UserService.java:[6,17] >> package javax.jws does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/MailEngine.java:[5,18] >> package javax.mail does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/MailEngine.java:[6,27] >> package javax.mail.internet does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/MailEngine.java:[10,31] >> package org.apache.velocity.app does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/MailEngine.java:[11,37] >> package org.apache.velocity.exception does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/MailEngine.java:[30,12] >> cannot find symbol >> symbol : class VelocityEngine >> location: class org.appfuse.service.MailEngine >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/MailEngine.java:[36,34] >> cannot find symbol >> symbol : class VelocityEngine >> location: class org.appfuse.service.MailEngine >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/MailEngine.java:[90,11] >> cannot find symbol >> symbol : class MessagingException >> location: class org.appfuse.service.MailEngine >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/TimestampConverter.java:[7,36] >> package org.apache.commons.beanutils does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/DateConverter.java:[9,36] >> package org.apache.commons.beanutils does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/DateConverter.java:[10,36] >> package org.apache.commons.beanutils does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/DateConverter.java:[20,38] >> cannot find symbol >> symbol: class Converter >> public class DateConverter implements Converter { >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/LabelTag.java:[13,36] >> package org.apache.commons.validator does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/LabelTag.java:[14,36] >> package org.apache.commons.validator does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/LabelTag.java:[15,36] >> package org.apache.commons.validator does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/LabelTag.java:[25,44] >> package org.springmodules.validation.commons does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/LabelTag.java:[233,12] >> cannot find symbol >> symbol : class ValidatorResources >> location: class org.appfuse.webapp.taglib.LabelTag >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/BaseManagerTestCase.java:[3,36] >> package org.apache.commons.beanutils does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/BaseManagerTestCase.java:[7,32] >> package org.springframework.test does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/BaseManagerTestCase.java:[14,50] >> cannot find symbol >> symbol: class AbstractDependencyInjectionSpringContextTests >> public abstract class BaseManagerTestCase extends >> AbstractDependencyInjectionSpringContextTests { >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/impl/BaseManagerMockTestCase.java:[3,36] >> package org.apache.commons.beanutils does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/impl/BaseManagerMockTestCase.java:[7,17] >> package org.jmock does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/impl/BaseManagerMockTestCase.java:[14,54] >> cannot find symbol >> symbol: class MockObjectTestCase >> public abstract class BaseManagerMockTestCase extends MockObjectTestCase >> { >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/ConvertUtil.java:[3,36] >> package org.apache.commons.beanutils does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/filter/LocaleFilter.java:[12,35] >> package javax.servlet.jsp.jstl.core does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/impl/UserManagerImpl.java:[12,17] >> package javax.jws does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[14,36] >> package org.springframework.mock.web does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[15,36] >> package org.springframework.mock.web does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[16,32] >> package org.springframework.test does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[20,53] >> cannot find symbol >> symbol: class AbstractTransactionalDataSourceSpringContextTests >> public abstract class BaseControllerTestCase extends >> AbstractTransactionalDataSourceSpringContextTests { >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[65,11] >> cannot find symbol >> symbol : class MockHttpServletRequest >> location: class org.appfuse.webapp.controller.BaseControllerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[69,11] >> cannot find symbol >> symbol : class MockHttpServletRequest >> location: class org.appfuse.webapp.controller.BaseControllerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[73,52] >> cannot find symbol >> symbol : class MockHttpServletRequest >> location: class org.appfuse.webapp.controller.BaseControllerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[77,52] >> cannot find symbol >> symbol : class MockHttpServletRequest >> location: class org.appfuse.webapp.controller.BaseControllerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/CountryTag.java:[16,30] >> package org.displaytag.tags.el does not exist >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/UserService.java:[12,1] >> cannot find symbol >> symbol: class WebService >> @WebService >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/impl/UserManagerImpl.java:[21,1] >> cannot find symbol >> symbol: class WebService >> @WebService(serviceName = "UserService", endpointInterface = >> "org.appfuse.service.UserService") >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/util/ValidationUtil.java:[34,12] >> cannot find symbol >> symbol : variable ValidatorUtils >> location: class org.appfuse.webapp.util.ValidationUtil >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/util/ValidationUtil.java:[36,24] >> cannot find symbol >> symbol : variable ValidatorUtils >> location: class org.appfuse.webapp.util.ValidationUtil >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/util/ValidationUtil.java:[38,13] >> cannot find symbol >> symbol : variable GenericValidator >> location: class org.appfuse.webapp.util.ValidationUtil >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/util/ValidationUtil.java:[41,20] >> cannot find symbol >> symbol : variable FieldChecks >> location: class org.appfuse.webapp.util.ValidationUtil >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/util/ValidationUtil.java:[45,16] >> cannot find symbol >> symbol : variable FieldChecks >> location: class org.appfuse.webapp.util.ValidationUtil >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/dao/BaseDaoTestCase.java:[21,48] >> cannot find symbol >> symbol : method getClass() >> location: class org.appfuse.dao.BaseDaoTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/dao/BaseDaoTestCase.java:[25,24] >> cannot find symbol >> symbol : variable AUTOWIRE_BY_NAME >> location: class org.appfuse.dao.BaseDaoTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/dao/BaseDaoTestCase.java:[37,27] >> cannot find symbol >> symbol : method getClass() >> location: class org.appfuse.dao.BaseDaoTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/dao/BaseDaoTestCase.java:[74,55] >> cannot find symbol >> symbol : variable applicationContext >> location: class org.appfuse.dao.BaseDaoTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/CurrencyConverter.java:[65,18] >> cannot find symbol >> symbol : class ConversionException >> location: class org.appfuse.util.CurrencyConverter >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/MailEngine.java:[54,17] >> cannot find symbol >> symbol : class VelocityException >> location: class org.appfuse.service.MailEngine >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/MailEngine.java:[91,8] >> cannot find symbol >> symbol : class MimeMessage >> location: class org.appfuse.service.MailEngine >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/MailEngine.java:[97,14] >> cannot access javax.mail.internet.InternetAddress >> file javax/mail/internet/InternetAddress.class not found >> helper.setTo(recipients); >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/MailEngine.java:[102,14] >> cannot access javax.activation.DataSource >> file javax/activation/DataSource.class not found >> helper.addAttachment(attachmentName, resource); >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/MailEngine.java:[104,8] >> cannot access javax.mail.internet.MimeMessage >> file javax/mail/internet/MimeMessage.class not found >> ((JavaMailSenderImpl) mailSender).send(message); >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/DateConverter.java:[33,18] >> cannot find symbol >> symbol : class ConversionException >> location: class org.appfuse.util.DateConverter >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/DateConverter.java:[53,26] >> cannot find symbol >> symbol : class ConversionException >> location: class org.appfuse.util.DateConverter >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/DateConverter.java:[57,18] >> cannot find symbol >> symbol : class ConversionException >> location: class org.appfuse.util.DateConverter >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/DateConverter.java:[74,26] >> cannot find symbol >> symbol : class ConversionException >> location: class org.appfuse.util.DateConverter >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/TimestampConverter.java:[30,26] >> cannot find symbol >> symbol : class ConversionException >> location: class org.appfuse.util.TimestampConverter >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/TimestampConverter.java:[34,18] >> cannot find symbol >> symbol : class ConversionException >> location: class org.appfuse.util.TimestampConverter >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/TimestampConverter.java:[44,26] >> cannot find symbol >> symbol : class ConversionException >> location: class org.appfuse.util.TimestampConverter >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/LabelTag.java:[64,8] >> cannot find symbol >> symbol : class ValidatorResources >> location: class org.appfuse.webapp.taglib.LabelTag >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/LabelTag.java:[77,12] >> cannot find symbol >> symbol : class Form >> location: class org.appfuse.webapp.taglib.LabelTag >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/LabelTag.java:[80,16] >> cannot find symbol >> symbol : class Field >> location: class org.appfuse.webapp.taglib.LabelTag >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/LabelTag.java:[237,8] >> cannot find symbol >> symbol : class ValidatorFactory >> location: class org.appfuse.webapp.taglib.LabelTag >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/LabelTag.java:[239,23] >> cannot find symbol >> symbol : class ValidatorFactory >> location: class org.appfuse.webapp.taglib.LabelTag >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/LabelTag.java:[240,55] >> cannot find symbol >> symbol : class ValidatorFactory >> location: class org.appfuse.webapp.taglib.LabelTag >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/LabelTag.java:[245,23] >> cannot find symbol >> symbol : class ValidatorFactory >> location: class org.appfuse.webapp.taglib.LabelTag >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/LabelTag.java:[246,55] >> cannot find symbol >> symbol : class ValidatorFactory >> location: class org.appfuse.webapp.taglib.LabelTag >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/BaseManagerTestCase.java:[17,48] >> cannot find symbol >> symbol : method getClass() >> location: class org.appfuse.service.BaseManagerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/BaseManagerTestCase.java:[21,24] >> cannot find symbol >> symbol : variable AUTOWIRE_BY_NAME >> location: class org.appfuse.service.BaseManagerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/BaseManagerTestCase.java:[32,27] >> cannot find symbol >> symbol : method getClass() >> location: class org.appfuse.service.BaseManagerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/BaseManagerTestCase.java:[56,8] >> cannot find symbol >> symbol : variable BeanUtils >> location: class org.appfuse.service.BaseManagerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/impl/BaseManagerMockTestCase.java:[17,48] >> cannot find symbol >> symbol : method getClass() >> location: class org.appfuse.service.impl.BaseManagerMockTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/impl/BaseManagerMockTestCase.java:[25,27] >> cannot find symbol >> symbol : method getClass() >> location: class org.appfuse.service.impl.BaseManagerMockTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/service/impl/BaseManagerMockTestCase.java:[49,8] >> cannot find symbol >> symbol : variable BeanUtils >> location: class org.appfuse.service.impl.BaseManagerMockTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/util/ConvertUtil.java:[81,12] >> cannot find symbol >> symbol : variable BeanUtils >> location: class org.appfuse.util.ConvertUtil >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/filter/LocaleFilter.java:[49,36] >> cannot find symbol >> symbol : variable Config >> location: class org.appfuse.webapp.filter.LocaleFilter >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/filter/LocaleFilter.java:[49,16] >> cannot find symbol >> symbol : variable Config >> location: class org.appfuse.webapp.filter.LocaleFilter >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[21,58] >> cannot find symbol >> symbol : method getClass() >> location: class org.appfuse.webapp.controller.BaseControllerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[24,24] >> cannot find symbol >> symbol : variable AUTOWIRE_BY_NAME >> location: class org.appfuse.webapp.controller.BaseControllerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[39,61] >> cannot find symbol >> symbol : variable applicationContext >> location: class org.appfuse.webapp.controller.BaseControllerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[35,5] >> method does not override a method from its superclass >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[50,12] >> cannot find symbol >> symbol : variable logger >> location: class org.appfuse.webapp.controller.BaseControllerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[51,12] >> cannot find symbol >> symbol : variable logger >> location: class org.appfuse.webapp.controller.BaseControllerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[55,34] >> cannot find symbol >> symbol : class MockServletContext >> location: class org.appfuse.webapp.controller.BaseControllerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[66,19] >> cannot find symbol >> symbol : class MockHttpServletRequest >> location: class org.appfuse.webapp.controller.BaseControllerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/controller/BaseControllerTestCase.java:[70,19] >> cannot find symbol >> symbol : class MockHttpServletRequest >> location: class org.appfuse.webapp.controller.BaseControllerTestCase >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/CountryTag.java:[85,8] >> cannot find symbol >> symbol : class ExpressionEvaluator >> location: class org.appfuse.webapp.taglib.CountryTag >> >> /Users/gregederer/dev/firstworldtoys/src/main/java/org/appfuse/webapp/taglib/CountryTag.java:[85,39] >> cannot find symbol >> symbol : class ExpressionEvaluator >> location: class org.appfuse.webapp.taglib.CountryTag >> >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 3 seconds >> [INFO] Finished at: Fri Aug 31 19:36:00 PDT 2007 >> [INFO] Final Memory: 9M/19M >> [INFO] >> ------------------------------------------------------------------------ >> >> >> mraible wrote: >> > >> > If you run "mvn clean", does it still happen? >> > >> > Matt >> > >> > On 8/31/07, gederer <[EMAIL PROTECTED]> wrote: >> >> >> >> Hi, >> >> >> >> After running mvn appfuse:full-source, I get the following output when >> >> running tests: >> >> >> >> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.06 >> sec >> >> <<< >> >> FAILURE! >> >> >> testAddAndRemoveManufacturer(com.firstworldtoys.dao.ManufacturerDaoTest) >> >> Time elapsed: 0.757 sec <<< ERROR! >> >> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot >> >> find >> >> class [org.apache.commons.dbcp.BasicDataSource] for bean with name >> >> 'dataSource' defined in file >> >> >> [/Users/gregederer/dev/firstworldtoys/target/test-classes/WEB-INF/classes/applicationContext-resources.xml]; >> >> nested exception is java.lang.ClassNotFoundException: >> >> org.apache.commons.dbcp.BasicDataSource >> >> Caused by: java.lang.ClassNotFoundException: >> >> org.apache.commons.dbcp.BasicDataSource >> >> at java.net.URLClassLoader$1.run(URLClassLoader.java:200) >> >> at java.security.AccessController.doPrivileged(Native Method) >> >> at java.net.URLClassLoader.findClass(URLClassLoader.java:188) >> >> at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >> >> at java.lang.ClassLoader.loadClass(ClassLoader.java:251) >> >> at >> >> >> org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:103) >> >> at >> >> org.springframework.util.ClassUtils.forName(ClassUtils.java:201) >> >> at >> >> >> org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:327) >> >> at >> >> >> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1066) >> >> at >> >> >> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:282) >> >> at >> >> >> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) >> >> at >> >> >> org.springframework.test.AbstractSingleSpringContextTests.createApplicationContext(AbstractSingleSpringContextTests.java:199) >> >> at >> >> >> org.springframework.test.AbstractSingleSpringContextTests.loadContextLocations(AbstractSingleSpringContextTests.java:179) >> >> at >> >> >> org.springframework.test.AbstractSingleSpringContextTests.loadContext(AbstractSingleSpringContextTests.java:158) >> >> at >> >> >> org.springframework.test.AbstractSpringContextTests.getContext(AbstractSpringContextTests.java:105) >> >> at >> >> >> org.springframework.test.AbstractSingleSpringContextTests.setUp(AbstractSingleSpringContextTests.java:87) >> >> at junit.framework.TestCase.runBare(TestCase.java:128) >> >> at >> >> >> org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69) >> >> at junit.framework.TestResult$1.protect(TestResult.java:106) >> >> at >> junit.framework.TestResult.runProtected(TestResult.java:124) >> >> at junit.framework.TestResult.run(TestResult.java:109) >> >> at junit.framework.TestCase.run(TestCase.java:120) >> >> at junit.framework.TestSuite.runTest(TestSuite.java:230) >> >> at junit.framework.TestSuite.run(TestSuite.java:225) >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> >> at >> >> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> >> at >> >> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> at java.lang.reflect.Method.invoke(Method.java:585) >> >> at >> >> >> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) >> >> at >> >> >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) >> >> at >> >> >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) >> >> at org.apache.maven.surefire.Surefire.run(Surefire.java:132) >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> >> at >> >> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> >> at >> >> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> at java.lang.reflect.Method.invoke(Method.java:585) >> >> at >> >> >> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) >> >> at >> >> >> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) >> >> at >> >> >> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) >> >> >> >> I can still mvn jetty:run without problems. I also poked around, and >> >> noticed that test-classes/WEB-INF/lib is empty (not sure whether this >> has >> >> anything to do with the above problem.) >> >> >> >> Any help appreciated. >> >> >> >> Thanks! >> >> >> >> Greg >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Test-clas-cannot-find-BasicDataSource-after-appfuse%3Afull-source-tf4363347s2369.html#a12436848 >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> > -- >> > http://raibledesigns.com >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Test-clas-cannot-find-BasicDataSource-after-appfuse%3Afull-source-tf4363347s2369.html#a12436951 >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Test-clas-cannot-find-BasicDataSource-after-appfuse%3Afull-source-tf4363347s2369.html#a12437184 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
