I keep getting this error after deploying my application successfully 
through eclipse to the app engine

org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'annotationSessionFactory' defined in ServletContext 
resource [/WEB-INF/spring/applicationContext-system.xml]: Invocation of 
init method failed; nested exception is org.hibernate.MappingException: 
Could not get constructor for 
org.hibernate.persister.entity.SingleTableEntityPersister at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
 
at .......

applicationContext-system.xml

<property name="dataSource" ref="dataSource" />

    <property name="hibernateProperties">
        <props>
            <prop key="hibernate.connection.driver_class">${db_driver}</prop>
            <prop key="hibernate.connection.username">${db_username}</prop>
             <prop key="hibernate.connection.password">${db_password}</prop>
            <prop 
key="hibernate.connection.url">${db_uri}${db_name}?user=${db_username}&amp;password=${db_password}</prop>
            <prop 
key="hibernate.dialect">org.hibernate.dialect.MySQLDialect</prop>
            <prop key="hibernate.dialect">
                ${hibernate.dialect}
            </prop>
            <prop key="hibernate.show_sql">
                ${hibernate.show_sql}
            </prop>
            <prop key="hibernate.generate_statistics">
                ${hibernate.generate_statistics}
            </prop>
            <prop key="hibernate.cache.use_second_level_cache">
                false
            </prop>
            <prop key="hibernate.cache.use_query_cache">false</prop>
            <prop 
key="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider
            </prop>
            <prop key="hibernate.c3p0.max_size">40</prop> <!-- was 60 -->
            <prop key="hibernate.c3p0.min_size">5</prop>
            <prop key="hibernate.c3p0.timeout">60</prop> <!-- was 1800 -->
            <prop key="hibernate.c3p0.max_statements">100</prop>
            <prop key="hibernate.c3p0.idle_test_period">60</prop>
            <prop key="hibernate.c3p0.acquire_increment">5</prop>
            <prop key="hibernate.c3p0.acquireRetryAttempts">4</prop> <!-- added 
-->
            <prop key="hibernate.c3p0.acquireRetryDelay">5000</prop> <!-- added 
-->
            <prop key="hibernate.c3p0.preferredTestQuery">SELECT 1</prop> <!-- 
added -->
            <prop key="hibernate.c3p0.idleConnectionTestPeriod">100</prop> <!-- 
added -->
            <prop key="hibernate.c3p0.testConnectionOnCheckin">true</prop> <!-- 
added -->
            <prop key="hibernate.c3p0.validate">true</prop>
            <prop key="hibernate.c3p0.testConnectionOnCheckout">true</prop>
            <prop key="myeclipse.connection.profile">hl3000</prop>
            <prop key="hibernate.c3p0.unreturnedConnectionTimeout">200</prop>
            <prop 
key="hibernate.c3p0.debugUnreturnedConnectionStackTraces">true</prop>

            <prop key="hibernate.enable_lazy_load_no_trans">true</prop>
        </props>
    </property>
    <property name="entityInterceptor">
        <bean 
class="com.ish.core.persistence.hibernate.TimestampedEntityInterceptor" />
    </property>

    <property name="mappingDirectoryLocations" 
ref="hibernateMappingDirectories" />
    <property name="packagesToScan" ref="hibernateAnnotatedPackages"/>
</bean>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/444b3bd1-81fe-4401-9366-f5f84934dd61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to