However it still prompt the error javax. EJBObject; error. No Account? Sign up. By signing in, you agree to our Terms of Use and Privacy Policy. Already have an account? Sign in. By signing up, you agree to our Terms of Use and Privacy Policy. Enter the email address associated with your account. We'll send a magic link to your inbox. Email Address. All Sign in options. Enter a Email Address. Choose your interests Get the latest news, expert insights and market research, sent straight to your inbox.
Newsletter Topics Select minimum 1 topic. Tags: Java. Hi, some questions to ask.. Bhuvaneswari Meenakshisundaram Posted July 17, 0 Comments. Hi j2ee. HI, First ofall you have toset classpath where j2ee is installed. Hi, I have download the j2ee sdk from the sun website.
Usually it gets downloaded to. Can you show the entire POM? Have you added the dependency under dependencies? JoopEggen The scope is not the problem here. Show 6 more comments. Active Oldest Votes. You should be able to find a jar with the javax. Improve this answer. Arjan Tijms Yes you are perfectly right my friend. However maven is unable to locate it [artifact:dependencies] Unable to locate resource in repository [artifact:dependencies] [INFO] Unable to find resource 'org.
So it tells you that it is could not find it in JBoss repository, which is not maven central. For some reason I suspect you have a user adapted settings. Schedule there as well. I did find it in a package called org. Add a comment. Joop Eggen Joop Eggen 99k 7 7 gold badges 77 77 silver badges bronze badges. Suresh Suresh 29 4 4 bronze badges. No need to do so cause it's in Maven Central. The dependency is declared as provided what means that the container will provide it.
This does not explain why the jar is not being downloaded. Yes it does. The scope provided means that Maven won't download the jar because it's already in the container classpath.
If you want to download the jar change it to compile or runtime — polypiel. No, it doesn't. The provided scope means the jar will not be bundled with the application when its final structure is created. It will still be downloaded and available for compiling.
PeterLiljenberg Totally agree. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete? Podcast Do polyglots have an edge when it comes to mastering programming
0コメント