I have a maven project. Then I use mvn package, I get a ear file. I manually deploy it in WAS and it's worked.
But then I use Eclipse:
What is the problem?
Project Properties>Deployment Assembly, check if Maven Dependencies are present It should look like:
If not present, add them via Add button.