Eclipse Development tools error | Adobe Higher Education
Skip to main content
Juan_Camacho_I_
Level 2
March 15, 2016
Risolto

Eclipse Development tools error

  • March 15, 2016
  • 24 risposte
  • 10296 visualizzazioni

Hi, I started having problems yesterday with my eclipse installation, I am trying to set up Eclipse again with AEM development tools and I don't stop getting this error when creating a project (I have tried both Mars and Luna version that its supposed to be supported by AEM tools):

"The server does not support version 2.4 of the J2EE Web module specification."

I don't know if this is a known error whether it is caused by the new version of the tools.

I attach a pic of the warnings that Eclipse shows after trying to create a new Project

 

I don't know if you could help me with this

Thanks in advance for your help

Juan

Questo argomento è stato chiuso alle risposte.
Migliore risposta di squid267

Feike Visser wrote...

I have figured out a workaround...

1. Don't deploy when creating a new project.

2. Once the project is created, create a new server (switch to AEM-perspective), make sure to change the port (default is 8080)

3. Select the modules you want to deploy

 

Thanks Feike! For some reason I was not able to edit the server port on the new server screen but after I created it I changed it following this guide. Hope it helps anyone else encountering this issue.

http://www.codejava.net/servers/tomcat/how-to-change-port-numbers-for-tomcat-in-eclipse

24 risposte

smacdonald2008
Level 10
March 15, 2016

Start from scratch and follow this AEM community article: 

http://adobeaemclub.com/aem-eclipse-plugin-setup-tutorial/

Juan_Camacho_I_
Level 2
March 15, 2016

Hi, I have already did that with 2 versions of eclipse and they are not working, I had already installed eclipse tools before and I had never found this problem

edubey
Level 10
March 15, 2016

Can you explain what are you trying to achieve

Are you creating new project? While creating are you deploying to some server?

Build project to AEM?

Juan_Camacho_I_
Level 2
March 15, 2016

Hi, I am trying to create a new project with eclipse, it should deploy the project but it gives that error before ending, the 5 folders (core, launcher, test, apps and content are created) but nothing is deployed to the server.

 

If I try to import something from the server (I have tried with content folder), the error is: "The selected project is not configured with/added to any Sling server"

smacdonald2008
Level 10
March 15, 2016

Watch this webinar - Lokesh - a top community member shows using Eclipse plug-in successfully:

http://scottsdigitalcommunity.blogspot.ca/2016/01/ask-community-experts-session.html

Juan_Camacho_I_
Level 2
March 15, 2016

Following those steps I realized that the folders where not set to be sync, I had to use "Add and Remove" to manually set them. Now my Eclipse can deploy things on the server but every time it publishes a file gives this error:

 

"Publishing failed
Failed installing bundle : Method execution returned status 500
Method execution returned status 500
Failed installing bundle : Method execution returned status 500
Method execution returned status 500"

I don't know what exactly causes the error because files are correctly synchronized with the server when you edit them (I have only tried editing components and clientlibs)

 

Do you know which could be the cause of these error?

Thank you for your help, at least I can deploy new project from eclipse now 

 

Juan

smacdonald2008
Level 10
March 15, 2016

What happens when you use vlt to try and sycn code between the IDE and the server? 

Juan_Camacho_I_
Level 2
March 16, 2016

I have used vlt co, ci and update in cmd to check if files were updated properly and everything worked fine.

I still have error 500 when trying to deploy things in eclipse and if I try to set up a new Eclipse with the plugin I get the error msg: "org/eclipse/aether/util/StringUtils" when finishing the wizard after creating/selecting server.

Level 4
March 16, 2016

I personally use vlt to sync code - never had an issue doing so. I wrote about that here: 

http://scottsdigitalcommunity.blogspot.ca/2015/01/creating-aem-project-using-eclipse-ide.html

ronnyfm
Level 4
March 21, 2016

I am facing the same error. I have used vlt and maven plugins to export to the server, but I want to setup via Eclipse for convenience and in order to standardize the process in the team. I am using Eclipse Luna (Version: Luna Service Release 2 (4.4.2)), which should be supported according this article: https://docs.adobe.com/docs/en/dev-tools/aem-eclipse.html. JDK version is 1.7. Maven version is 3.3.9.

The default project structure does have some components but starting and publishing via Server view in Eclipse does nothing.

More details:

java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)

 

Have you figured something else?