This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Add dependency in maven project for j2ee.jar

 
Raihan Jamal
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the maven dependency for j2ee.jar. I tried doing this way. But still its not working..





Any suggestions will be appreciated..
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15207
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raihan Jamal wrote:But still its not working..

What does that mean, "it's not working"? Do you get an error message when you try to build or run your project? If yes, then what exactly is the error message, and what commands exactly are you typing?

I think the dependency you've added is correct for Java EE 6. But it will only include the API for Java EE 6 in the classpath; to run your application, you'd need to deploy it in an application server that implements the Java EE 6 API.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic