Hi
I would like to use the EWS Java API (from http://code.msdn.microsoft.com/Exchange-EWS-Java-API-12-1a5a1143) in a confluence macro.I run this command:
atlas-mvn install:install-file -Dfile="Path/EWSJavaAPI_1.2.jar" -DgroupId=microsoft.exchange.webservices -DartifactId=ews -Dversion=1.0 -Dpackaging=jar
And configured the pom.xml with this:
<dependency>
<groupId>microsoft.exchange.webservices</groupId>
<artifactId>ews</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
But I still get this error:
Error rendering macro 'confluence-macro' : microsoft/exchange/webservices/data/ExchangeService
On the commandline where the instance is running of the confluence there I see:
[INFO] [talledLocalContainer] Caused by: java.lang.ClassNotFoundException: microsoft.exchange.webservices.data.ExchangeService
What do I wrong or how can I solve this?
Community moderators have prevented the ability to post new answers.
I changed the scope from "provided" to "compile" and now it works.
@Steve Vogel I followed your link above and the page said "This item is not yet published.". Do you have another source?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.