I am very new to AEM and I am trying to create a AEM project in Eclipse based on certain tutorials from internet.
After installing the AEM plugin by using this url, I tried to create the project. I tried different approaches - some of them failed.
Approach - 1: Mars Eclipse, Java 1.8 and AEM 6.2 Select the Archetype-10, choose Setup new server, enter the server details and deploy it while creating the project, where I got an error "
The server does not support version 2.4 of the J2EE Web module specification.
Approach - 2: Mars Eclipse, Java 1.8 and AEM 6.2 First create the AEM server in the server window Select the Archetype-10, Choose Don't deploy on server, Finish. And then add these projects into the created AEM server. I was able to start the server and publish the projects, but its not reflected in the apps folder of AEM. I am getting an error if I clicked debug button and the error is
org.apache.commons.httpclient.HttpException: Got status code 500 for call to http://localhost:4502/system/sling/tooling/sourceReferences.json
Approach - 3: Luna Eclipse, Java 1.8 and AEM 6.2 I followed the steps in Approach-2. I could see the components published to apps folder of AEM. Again, I could not do debug. I am getting the same error. I could not find any useful materials related to this.
Please let me know where I am making a mistake.