The problem is this: you need to write a Java EE application, but there is no javax. Where can I get it and how to install it? On my computer installed Java EE, and on a laptop only Java SE. Today, using the plug-in modules, I installed Java EE and the GlassFish server, but it did not solve the problem due to the lack of Javax.
I noticed that the library javax are tightened with hibernate or possible jdbc . If you work with hibernate , you will clearly work with jdbc , then you have imports to work. Separately Javax has not yet loaded.
Do not forget to install a tick: “Enable Annotation Processing”.
If you use Maven in the project, then simply add the desired library from http://mvnrepository.com/artifact / javax