appfuse学习手记

1。package com.mycompany.app.dao.hibernate;
   包中的UserDaoHibernate类出现错误
Table table = AnnotationUtils.findAnnotation(User.class, Table.class);
   findAnnotation方法应用错误。
引用别人的话Matt:

He is using version 2.0.1 and that's depicted in his command line with artifactId.  I have the same annoying problem too..
改一下引用包,把spring包改为2.5版本的。

你可能感兴趣的:(DAO,spring,Hibernate,Appfuse)