• 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: 15495
43
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic