Most voted "java-ee" questions
Java Platform, Enterprise Edition, or Java EE (or Java Platform, Enterprise Edition) is a programming platform for servers in the Java programming language.
Learn more…631 questions
Sort by count of
-
-1
votes3
answers1182
viewsHow do you hide a div when it’s empty?
I have a div to show alerts to the user when a new user is successfully registered, but I only intend to show this message in the div, IE, the div when it is not empty. How do I do? Note: I saw an…
-
-1
votes1
answer294
viewsError, I cannot save in bank using Hibernate
Good afternoon Pessoa, I need your help! I have a problem in my project, my Hibernate is working creating tables but when I tried to save it does not work and the following error appears in junit(…
-
-1
votes2
answers634
viewsError with @Autowired annotation
Good morning. I’m studying JPA + Hibernate + Spring MVC and I’m a few days with this problem and I can’t solve it. I looked on the Internet and the solutions I saw did not solve. Thank you. Stack…
-
-1
votes1
answer140
views -
-1
votes1
answer268
viewsProblem listing data in JSP
I cannot do Data Listing. You are giving "Error Processing request", Servlet Path:/pages/data.jsp Path Info:null Query String:null... I don’t know what it is. Thank you for any help. OBS.: I’m…
-
-1
votes1
answer290
viewsError installing eclipse: Exit Code: 13
Hello! I am trying to install the eclipse in Ubuntu XFCE 18.04, with openjdk8 installed and the path configured in "/etc/profile": But still giving Exit code 13: I don’t remember very well if in the…
-
-1
votes1
answer148
viewsHow to add CR or LF to the end of the. pdf file generated by Stella.Boleto?
I managed a ticket of the Itau and was indicated to validate with the operator (bank Itau). The operator required to insert the special characters: CR+LF. How do I do that ?
-
-1
votes1
answer144
viewsAdd action and onClick to a commandButton
Good afternoon, I am building a javaWeb system, I wonder if I can add an Action and an onClick in a commandButton? h:commandButton value="Reservar" action="#{aluguelController.reservarEtios}"…
-
-1
votes1
answer985
viewsProblems setting up a Maven project to place CDI
Watch the error message; 08:27:28,047 INFO [org.jboss.weld.Bootstrap] (MSC service thread 1-2) WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available.…
-
-1
votes1
answer986
views -
-1
votes1
answer1318
viewsConnection is not Associated with a Managed
One of our systems is showing the error below: Connection is not associated with a managed connection.org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6@437f90c8 This mistake has happened a lot,…
-
-1
votes1
answer281
viewsProblems with Glassfish Permgen Space
I have a project that runs a web control system, it has a web service Rest for mobile queries and data collection. It performs perfectly, but the project is still under development. It has already…
-
-1
votes3
answers577
viewsPassing attributes from a Servlet to a JSP
Hello. I’m developing a system where the user clicks on an edit button and then opens the editing page with the attributes of the already filled object in the text boxes. In my Servlet, I am using…
-
-1
votes1
answer118
viewsError: The constructor Velocitytemplate(Inputstream) is Undefined
import java.io.Serializable; import java.util.Locale; import javax.enterprise.context.RequestScoped; import javax.inject.Inject; import javax.inject.Named; import…
-
-1
votes1
answer41
viewsEndpoint Rest with Jersey shows no expected result
I created a Javaee project directly in Intellij and added the Javaee 8 dependencies via Maven. The structure of the project is in this link. web xml.: <?xml version="1.0" encoding="UTF-8"?>…
-
-1
votes1
answer336
viewsWildfly server is not running
I have a problem with my Wildfly 15 server and I am not able to run it or upload any application. Is it a problem with the new version of the server? Below is the error: Failed to start service…
java-eeasked 5 years, 10 months ago Yuri Campos 7 -
-1
votes2
answers250
views"algaworks" - Bigdecimal - Sum of values
I am trying to add the values added in the column "Value", IE, to each entry of a recipe the total field below needs to update doing the sum of the values in the column value, however I am with the…
-
-1
votes1
answer21
viewsProblems opening a Select One Menu within a p:dialog
I own a select one menu within a p:dialog, I can see that it loads the data, but it doesn’t open, doesn’t drop down, outside the p:dialog it works normally. I searched on but found no results. My…
-
-1
votes1
answer386
viewsError generating pdf report from a jsp page
I have a problem generating pdf report using jsp and jasperreport. Initially, on my desktop where my server was glashfish, the code ran well, but when publishing the page on a Tomcat server, it gave…
-
-1
votes1
answer438
viewsHow to enable CORS in Java projects with JWT implementation?
I am doing a web service project, where I implemented the JWT and to consume using Reactjs I enabled the CORS, but when I make a request that needs to have the token, this returning it: Access to…
-
-1
votes1
answer37
viewsError when selecting data saved in BD via a <p:Selectonemenu>
I’m having trouble loading a user’s data into the form. Man selectOneMenu is loaded(correctly) with a list of guys however the TYPE object entered in the User record is not being selected during…
-
-1
votes1
answer254
viewsjava.sql.Sqlexception: Column 'id' not found
My code to search in the BD by id. The class is ContatoDao: //Pesquisa por id public Contato pesquisaId(int id) { String sql = "select nome from contatos where id = "+id; Contato contato = null; try…
-
-1
votes1
answer217
viewsPrimary key composed of two foreign keys
Good afternoon to you all! I have a doubt in the structure of an Entity, I am using Hibernate+JPA. The class is a user rating, where one primary key will be the user (coming from the User class),…
-
-1
votes1
answer176
viewsGenerate standard bar code 2 of 5 interspersed in java
Good morning, I’m trying to implement a barcode generator to generate the payment code for a billet collection type. Researching realized needed to be in pattern 2 of 5 interspersed, the way I did…
-
-2
votes1
answer548
viewsError while building and running the project, java web, with jpa and Hibernate
I am developing a Java Web project, using JPA, Hibernate and Maven, and when running the project, or when building the project I get the following exception: cd E:\NetBeansProjects\mercadinho;…
-
-2
votes2
answers183
viewsjava.lang.Nullpointerexception
Main class presenting problem in the call of the method createNew: case 1: cliente = new Cliente(); cliente.setNome(JOptionPane.showInputDialog("Nome: ")); cliente.setCpf(Long.parseLong(JOptionPane…
-
-2
votes1
answer681
viewsHow to get an item from a List< [ ] String>?
How can I pick up an item from a List< [] String>? // Monta a String partsList.add(new String [] {StringUtils.trim(String.valueOf(peças.getCodigoProduto())),…
-
-2
votes2
answers900
viewsReturn JSON from API with parameter
Hello, I have a service that consumes the Openweather API. There is a list of cities registered in the view layer. Where you can see the weather forecast for each city by clicking on the 'forecast'…
-
-2
votes1
answer643
viewsHow to browse a java chained list
I need to go through a chained list to compare whether the number the user will enter is equal to an attribute of a class (doctors) that has a chained list. I have the following Classes: Node,…
-
-3
votes1
answer78
viewsComparison of java array
I was doing a project and I needed the following logic... https://www.devmedia.com.br/multiplos-resultsets-em-java/21152 and I came across the following situation... and if it were with two separate…
-
-3
votes1
answer200
viewsHow to open "Save As" in a Java application?
I am trying to create an application that takes a user input stores in a variable and saves the input in a directory informed by it through the "save as" windows, but I can only access the file…