File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Add dependency in maven project for j2ee.jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Add dependency in maven project for j2ee.jar" Watch "Add dependency in maven project for j2ee.jar" New topic

Add dependency in maven project for j2ee.jar

Raihan Jamal
Ranch Hand

Joined: Mar 23, 2010
Posts: 86
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

Joined: Aug 16, 2005
Posts: 14074

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.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Consider Paul's rocket mass heater.
subject: Add dependency in maven project for j2ee.jar
Similar Threads
Sonar - Native Plugin
Maven web project dependencies
Error: ERROR initServletBean, Context initialization failed
Problem facing in Ejb execution in eclipse IDE
Maven dependencies