AnsweredAssumed Answered

[SOLVED] Where to place the jlan jar for SDK 3 ?

Question asked by showky on Feb 19, 2009
Latest reply on Feb 23, 2009 by showky
Hi everybody :)
I've installed Alfresco Labs 3, and it runs perfectly.

As a developer, I downloaded the SDK 3 to see how it works, what I can do with it, etc. I followed the wiki about it. It seems that few people manage to make the SDK 3 working…For me, I've put the alfresco-jlan.jar in few directories, and added it as a "external jar" in the SDK AlfrescoEmbedded and the SDK FirstFoundationClient project.

Still, I've got the exception when running the SDK FirstFoundationClient project :
Exception in thread "main" java.lang.NoClassDefFoundError: org/alfresco/jlan/server/config/CoreServerConfigSection
   at org.alfresco.filesys.ServerConfigurationBean.processCoreServerConfig(
   at org.alfresco.filesys.ServerConfigurationBean.init(
   at org.alfresco.filesys.ServerConfigurationBean.onApplicationEvent(
   at org.springframework.context.event.SimpleApplicationEventMulticaster$
   at org.springframework.core.task.SyncTaskExecutor.execute(
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(
   at org.alfresco.util.ApplicationContextHelper.getApplicationContext(
   at org.alfresco.sample.FirstFoundationClient.main(
Caused by: java.lang.ClassNotFoundException: org.alfresco.jlan.server.config.CoreServerConfigSection
   at Method)
   at java.lang.ClassLoader.loadClass(
   at sun.misc.Launcher$AppClassLoader.loadClass(
   at java.lang.ClassLoader.loadClass(
   at java.lang.ClassLoader.loadClassInternal(
   … 12 more

Nevertheless, the project start to compile. It seems that this alfresco-jlan.jar must be placed in several directories. The question is : which ?

Ideally, does someone know a drill to make this SDK working with this jar ?

Thanks for your help !