问题标签 [alfresco-maven]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
18 浏览

java - 如何修复 NoSuchMethodError: 'void freemarker.template.Configuration.(freemarker.template.Version) 当我不能排除旧版本时?

我正在运行 Alfresco 7 Enterprise,并且正在尝试运行一些自定义控制器。在我的上下文中,我有这个:

在启动时我得到:

使用 Eclipse 和依赖层次结构,我使用的是 2.3.20。我知道 freemarker 在 2.3.21 版本的构造函数中添加了 Version

因此,起初我尝试升级 freemarker 版本,但是当我尝试从 eclipse 中排除 2.3.20 时,我得到:“无法找到依赖源”,我无法解释。

所以我可以看到 2 个选项:

1:找到一个工具,可以找到那个依赖的来源... 2:以2.3.20的方式创建一个视图解析器。IE 如何在使用 2.3.20 的上下文类中创建 ViewResolver

有没有人有什么建议?

0 投票
0 回答
27 浏览

alfresco - Alfresco in AWS Cloud - Best Integration Option

I have to use Alfresco CMS deployed in AWS Cloud. I will be integrating different internal applications (build primarily using Java Springboot framework) to use AWS Alfresco CMS as well as migrate existing content in bulk and on periodic basis to AWS Alresco CMS.

I want to reduce tight dependency on Alfresco provided API or ADF or WAR based integration options. Reason for that is that in case if we switch to some other cloud CMS product in future, we can reduce impact to update internal applications as much as possible.

With above context, what can be best approach to integrate for me?

  1. Create library as wrapper to use Alfresco ReST API? If so, is there any reference or sample Java ( or Javascript ? )library implementation project that I can use to jump start my development?

vs.

  1. Use CMIS API directly (with assumption that future CMS product will also support CMIS API interface. If so, is there any reference / sample CMIS API based project that I can use to jump start my development?

vs.

  1. Use Alfresco ADF directly. But this will probably introduce direct dependency on Alfresco.

Many thanks for your guidance on this.