app-config.xml
<?xml version="1.0" encoding="UTF-8"?><context:annotation-config/>
<context:component-scan base-package="br.com.caelum.estoque" />
<bean
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/WEB-INF/views/" />
<property name="suffix" value=".jsp" />
</bean>
<mvc:annotation-driven />
<bean id="sessionFactory"
class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
<property name="hibernateProperties">
<props>
<prop key="hibernate.connection.url">jdbc:mysql://localhost/fj27</prop>
<prop key="hibernate.connection.driver_class">com.mysql.jdbc.Driver</prop>
<prop key="hibernate.connection.connection.username">root</prop>
<prop key="hibernate.connection.connection.password">microsoft</prop>
<prop key="hibernate.dialect">org.hibernate.dialect.MySQLDialect</prop>
<prop key="hibernate.show_sql">true</prop>
<prop key="hibernate.format_sql">true</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop>
<prop key="hibernate.connection.autocommit">true</prop>
</props>
</property>
<property name="annotatedClasses">
<list>
<value>br.com.caelum.estoque.model.Produto</value>
</list>
</property>
</bean>
e o erro dado é
org.hibernate.MappingException: Unknown entity: br.com.caelum.estoque.model.Produto
Não estou entendendo este erro?