Hi,
I have reported source code from sdk 2.2 alfresco project to a new alfresco project with sdk 3.0.1. by using the sdk 3.0.1 template.
Some dependencies are declared in platform-jar module POM.xml.
<!-- appache FTP -->
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.3</version>
</dependency>
<!-- Samba dependencies -->
<dependency>
<groupId>jcifs</groupId>
<artifactId>jcifs</artifactId>
<version>1.3.17</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi</groupId>
<artifactId>hapi-base</artifactId>
<version>2.2</version>
</dependency>
<!-- Also add hapi-structures-v22, v23, etc. depending on which versions
of HL7 you need to create or parse -->
<dependency>
<groupId>ca.uhn.hapi</groupId>
<artifactId>hapi-structures-v251</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
<version>1.12</version>
</dependency>
But the jar (hapi-base, hapi-structures-v251, tika-core, etc...) are not created during the build.
And so when i launch the project i have an issue on TOMCAT :
On the former project (sdk 2.2) , the jar were well generated...
How can i solve it ?
Thx
Solved! Go to Solution.
All is ok, I solve it by adding dependencies in platform pom file AND in main pom file :
java - Alfresco Context initialization failed : NoClassDefFoundError - Stack Overflow
Thank you
Can you elaborate?
I could not understand the problem you are facing.
All is ok, I solve it by adding dependencies in platform pom file AND in main pom file :
java - Alfresco Context initialization failed : NoClassDefFoundError - Stack Overflow
Thank you
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.