I get a javax.naming.NameNotFoundException: Name "DemoEJB/ejb.ListElements" not found. (I named my project DemoEJB, more precisely I added it into the same project as the last one). What could be the cause? I, too, used ic.lookup("java:global/DemoEJB/ListElements")
@@davidakful We get nullpointerexception because we only install glassfish-web. After installing glassfish full (which support JEE 7) error will disappear.
I get a javax.naming.NameNotFoundException: Name "DemoEJB/ejb.ListElements" not found. (I named my project DemoEJB, more precisely I added it into the same project as the last one). What could be the cause? I, too, used ic.lookup("java:global/DemoEJB/ListElements")
how do you import the package in a jsp file? i don't see the import option in my netbeans
it is giving me null pointer exception
Did you find solution? I am also getting null pointer exception.
@@davidakful We get nullpointerexception because we only install glassfish-web. After installing
glassfish full (which support JEE 7) error will disappear.
Same thing when you use Tomcat: You're supposed to use TomEE instead.
@@javaejercicios4442 @Java Ejercicios I did install glassfish full (which supports JEE 7) and still getting the Null Pointer Exception.