Does anybody recognize this error?
Well, I have this Spring3 configuration:Code:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySessionFactory': Post-processing of the FactoryBean's object failed; nested exception is java.lang.SecurityException: Unable to get members for class org.hibernate.impl.SessionFactoryImpl
I can't see nothing wrong in this code, I have all dependencies, last versions.Code:<bean id="myDataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <property name="driverClassName" value="com.google.appengine.api.rdbms.AppEngineDriver" /> <property name="url" value="jdbc:google:rdbms://xx:xx/nomedb" /> </bean> <bean id="mySessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"> <property name="dataSource" ref="myDataSource" /> <property name="annotatedClasses"> <list> <value>it.trew.prove.model.beans.Scadenza</value> <value>it.trew.prove.model.beans.Fornitore</value> <value>it.trew.prove.model.beans.Societa</value> </list> </property> <property name="hibernateProperties"> <props> <prop key="hibernate.dialect">org.hibernate.dialect.MySQLDialect</prop> <prop key="hibernate.show_sql">true</prop> <prop key="hibernate.hbm2ddl.auto">create</prop> <!-- <prop key="hibernate.hbm2ddl.import_files">/setup.sql</prop> --> </props> </property> </bean> <tx:annotation-driven transaction-manager="transactionManager" /> <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager"> <property name="sessionFactory" ref="mySessionFactory" /> </bean>
On Google AppEngine, it does not work.![]()


Reply With Quote
