Saturday, April 7, 2012

Troubleshoot-Jboss 6.1and Eclipse Indigo

Troubleshoot-Jboss 6.1and Eclipse Indigo

Server: Jboss 6.1-Final
Eclipse Version: Helios and Indigo

When the jboss 6.1-Final is started in Eclipse Helios and above, the below error was thrown. There seems to be problem with plug-in.

Deployment "PostEjbJarMetadataDeployer" is in error due to the following reason(s): java.lang.NoSuchMethodError: javax.annotation.Resource.lookup()Ljava/lang/String;

By providing the below configuration in the vm argument, the problem is resolved.
In Eclipse, go to server tab, Click on server and then Arguments, in VM arguments section provide the below entry


No comments:

Post a Comment