この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
解決済! 解決策の投稿を見る。
This example AEM app consists of 2 parts:
1 client java app built with IntilliJ IDE
2 A custom sling servlet that uses AssetManager API.
You are missing required libs in the client
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>4.1-beta1</version>
</dependency>
. That is why you are getting the exception.
Sometimes Eclipse is not as stable as IntilliJ IDE with Maven. You can try using the free 30 day trial of IntilliJ.
Now for the Sling servlet, follow the instructions in the document. Use the same Maven commands. Then, you can build and deploy the bundle via the felix console.
表示
返信
いいね!の合計
I recreated project on IntelliJ, works fine.
Thanks Scott!
Both the client app and the example sling servlet can be downloaded from the article. Read the readme for the client app. Deploy the servlet as shown in the article. Make sure to configure the XML file as well. This community code has been tested on 5.5 and 5.6 as discussed in the article.
表示
返信
いいね!の合計
When working with Maven and Java, IntilliJ IDE is far superior.
表示
返信
いいね!の合計
If you have additional issues, email me at scottm@adobe.com. I will setup a connect session to get you up and running.
表示
返信
いいね!の合計
I added the jar files manually and still getting this error. All dependencies were added as well. This programing is running and compiling on eclipse but when executing the jar file it gives the mentioned exception.
表示
返信
いいね!の合計