Hi,
The version of SDK I use is 2.9B, and the Alfresco is 3lab-full.I use with Tomcat 5.5 and MySQL server.
When I run FirstFoundationClient, I have the same problem. And I have followed your instruction, but I still get this error:
————————————————————————————————————————————————
Exception in thread "main" java.lang.NullPointerException
at org.alfresco.util.RuntimeSystemPropertiesSetter.postProcessBeanFactory(RuntimeSystemPropertiesSetter.java:68)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:414)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:328)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:92)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:77)
at org.alfresco.util.ApplicationContextHelper.getApplicationContext(ApplicationContextHelper.java:55)
at org.alfresco.sample.FirstFoundationClient.main(FirstFoundationClient.java:69)
————————————————————————————————————————————————
Besides, I can't find out the file custom-hibernate-dialect.properties in Alfresco SDK.
This is my custom-repository.properties file:
# Sample custom content and index data location
#
dir.root=C:/Alfresco/alf_data
db.username=alfresco
db.password=alfresco
#
# MySQL connection (This is default and requires mysql-connector-java-3.1.12-bin.jar, which ships with the Alfresco server)
#
db.driver=C:/Alfresco/tomcat/shared/classes/alfresco/extension
db.url=jdbc:mysql://localhost/alfresco
————————————————————————-
I appreciate any help.
Thanks and Regards