Skip to content

Instantly share code, notes, and snippets.

@mraible
Created January 25, 2013 22:25
Show Gist options
  • Save mraible/4638499 to your computer and use it in GitHub Desktop.
Save mraible/4638499 to your computer and use it in GitHub Desktop.
Upgrading from Spring 3.2 to 3.2.1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.564s
[INFO] Finished at: Fri Jan 25 15:19:11 MST 2013
[INFO] Final Memory: 20M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project appfuse-hibernate: Compilation failure: Compilation failure:
[ERROR] /Users/mraible/dev/appfuse/data/hibernate/src/main/java/org/appfuse/dao/hibernate/RoleDaoHibernate.java:[9,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mraible/dev/appfuse/data/hibernate/src/main/java/org/appfuse/dao/hibernate/RoleDaoHibernate.java:[19,1] cannot find symbol
[ERROR] symbol: class Repository
[ERROR] @Repository
[ERROR] /Users/mraible/dev/appfuse/data/hibernate/src/main/java/org/appfuse/dao/hibernate/LookupDaoHibernate.java:[9,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mraible/dev/appfuse/data/hibernate/src/main/java/org/appfuse/dao/hibernate/LookupDaoHibernate.java:[20,1] cannot find symbol
[ERROR] symbol: class Repository
[ERROR] @Repository
[ERROR] /Users/mraible/dev/appfuse/data/hibernate/src/main/java/org/appfuse/dao/hibernate/UserDaoHibernate.java:[12,37] package org.springframework.stereotype does not exist
[ERROR] /Users/mraible/dev/appfuse/data/hibernate/src/main/java/org/appfuse/dao/hibernate/UserDaoHibernate.java:[32,1] cannot find symbol
[ERROR] symbol: class Repository
[ERROR] @Repository("userDao")
[ERROR] /Users/mraible/dev/appfuse/data/hibernate/src/main/java/org/appfuse/dao/BaseDaoTestCase.java:[32,16] cannot access org.springframework.context.ApplicationContextAware
[ERROR] class file for org.springframework.context.ApplicationContextAware not found
[ERROR] public abstract class BaseDaoTestCase extends AbstractTransactionalJUnit4SpringContextTests {
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :appfuse-hibernate
raibledesigns~/dev/appfuse$ cd data/hibernate/
raibledesigns~/dev/appfuse/data/hibernate$ mvn dependency:tree | grep spring
[INFO] +- org.springframework:spring-aop:jar:3.2.0.RELEASE:compile
[INFO] | +- org.springframework:spring-core:jar:3.2.0.RELEASE:compile
[INFO] | \- org.springframework:spring-beans:jar:3.2.0.RELEASE:compile
[INFO] +- org.springframework:spring-jdbc:jar:3.2.0.RELEASE:compile
[INFO] | \- org.springframework:spring-tx:jar:3.2.0.RELEASE:compile
[INFO] +- org.springframework:spring-orm:jar:3.2.0.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-core:jar:3.1.3.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-config:jar:3.1.3.RELEASE:compile
[INFO] \- org.springframework:spring-test:jar:3.2.0.RELEASE:compile
[INFO] \- org.springframework:spring-webmvc:jar:3.2.0.RELEASE:compile
[INFO] +- org.springframework:spring-context:jar:3.2.0.RELEASE:compile
[INFO] +- org.springframework:spring-web:jar:3.2.0.RELEASE:compile
[INFO] \- org.springframework:spring-expression:jar:3.2.0.RELEASE:compile
raibledesigns~/dev/appfuse/data/hibernate$ mvn dependency:tree -Dspring.version=3.2.1.RELEASE | grep spring
[INFO] +- org.springframework:spring-aop:jar:3.2.1.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:3.2.1.RELEASE:compile
[INFO] | \- org.springframework:spring-core:jar:3.2.1.RELEASE:compile
[INFO] +- org.springframework:spring-jdbc:jar:3.2.1.RELEASE:compile
[INFO] | \- org.springframework:spring-tx:jar:3.2.1.RELEASE:compile
[INFO] +- org.springframework:spring-orm:jar:3.2.1.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-core:jar:3.1.3.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-config:jar:3.1.3.RELEASE:compile
[INFO] \- org.springframework:spring-test:jar:3.2.1.RELEASE:compile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment