I've followed http://docs.oracle.com/javaee/7/firstcup/doc/firstcup.pdf religiously - and am hitting a problem on 3.2.1.1. I'm selecting "Build" to build the project using Maven but I get the issue..
firstcup/ejb/DukesBirthdayBean.java:[16,17] package javax.ejb does not exist
as well as other related package does not exist
errors.
This is the first time I've used Netbeans (and Maven for that matter) - so am guessing it is something straightforward that I haven't configured correctly. Any help appreciated.
Turns out something must have gone wrong with the dependency download of javaee-api-7.0
- I could only see the META-INF directories underneath the jar itself. After manually downloading and installing the artefact, I was able to build successfully.
Huzzah!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.