I'm developing a Restful application, using eclipse and jersey (Without using framework).
But I'm having a problem with annotations like @Path, @GET.
When I use these annotations it gives an error in the package line within the class.
The fol...
I have an application with several WEB modules and an EJB within an EAR according to the following image:
IntheEJBmoduleIcreatedanannotatedclasswith@ApplicationScoped,mygoalisforthisclasstostoreinformationthatmustbepassedbetweentheWEBprojects.I...
I'm trying to persist an entity and when I try to persist it throws a constraint violation error, performing the debug, I noticed that the object is instantiated because the fields are null.
Entities:
@MappedSuperclass
public abstract class...
Someone more experienced, could you tell me if JavaFX has some way to make a list as you go typing in the textfield. Example: When you are going to enter your facebook email, and you type the first letter and your email appears below, exactly th...
How do I block access to a web java application by the user's IP.
The application will be hosted outside of the company environment, but it needs to be accessed by a certain profile from outside.
I have in the user profile the profile of e...
I have a class called Application which is a listener , it instantiates objects of ServidorRadius where it needs to access repositories that are injected with CDI , however radiusRepository is returning null...
When I inject an object into the class it returns null , it does not seem to be instantiated.
Exception in thread "main" java.lang.NullPointerException
at com.fercosmig.util.db.PopulaTabelaUsuario.main(PopulaTabelaUsuario.java:37)...
I can not get the value of my selectOneRadio , it comes as null :
<p:dataTable id="exibePerguntas" var="questao" paginator="true"
rowsPerPageTemplate="2,3,5,10,12" paginatorPosition="bottom"
value...
I have <p:autoComplete> working, and I have a commandButton that opens dialog so I can make a new one. The dialog opens, I fill in the fields however at the time of saving this exception is thrown:
SEVERE:...
In all the examples I saw in the code below, the normal occurrence was when the xhtml page was started creating a new client-type object. Through the values entered in the inputs, set the attributes of this object and the commandbutton could use...