cancel
Showing results for 
Search instead for 
Did you mean: 

SDK samples problem

jcfelicilte
Champ in-the-making
Champ in-the-making
Hi,

I have 2 questions :

1. I am trying to run the samples of the SDK without success. For exemple, in the FirstFoundationClient, the application creates the database  but with 2 exceptions listed below :
Exception in thread "main" org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed

And

Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 8; column 23 due to error: Unable to load analyser for property of type {http://www.alfresco.org/model/dictionary/1.0}text using org.apache.lucene.analysis.fr.FrenchAnalyzer

Why?

2. When I launch the Tomcat server for the first time, the webapp is deployed with success and I can see the database created.
Then when I restart the server, I have some errors telling me that the schema can't be regenerated, Why?
Same thing wiith the SDK samples. I must drop the database and recreate it.

thanks a lot for answers

JC
1 REPLY 1

torcq
Champ in-the-making
Champ in-the-making
You need to add lucene-analyzers-2.0.0.jar in your classpath (this jar is missing in the Java build path inside Eclipse)

Cédric