Questions tagged as 'java-ee'

0
answers

Doubt with JMS in Java and implementation

I need to make a simple publisher / subscriber in JMS, but I am full of doubts about the operation since I do not have much notion of architecture and implementation in Java. I understand the operation can be done as follows: Configure th...
asked by 09.02.2015 / 22:07
0
answers

Tomcat: The server encountered an internal error that prevented it from fulfilling this request

I'm having problems with Tomcat using Eclipse. First it did not find the MySQL Driver, then I used Class.forName in class ConnectionFactory and now it is returning line 52 of AdicionaContatoServlet as null . Can any...
asked by 27.01.2015 / 10:53
2
answers

Controller SpringMVC does not redirect to another controller

No Controller LoginController.java @Controller @RequestMapping("/login") public class LoginController { @Autowired private UsuarioRepositorio usuarioRepositorio; @RequestMapping(method = RequestMethod.POST) public String autenticar(@Valid...
asked by 17.08.2018 / 20:15
2
answers

Error java.lang.NoClassDefFoundError

I'm stuck on a project that should be a "bank" with a CRUD account and transaction. I have to use Oracle database because of the facul. This error happens when giving an insert in the database. Stacktrace: jun 11, 2017 4:21:58 PM com.sun.f...
asked by 11.06.2017 / 21:41
1
answer

Error loading JSF project: URL changing by itself

When I run my project in netbeans, my project is being loaded in the http://localhost:8080/loogix// URL when it should actually load http://localhost:8080/loogix/faces/index.xhtml . The Log to run is: Listening for transport dt...
asked by 01.12.2017 / 02:18
2
answers

Edit with Radio button in jsf

Well, I'm starting to develop with JSF and I'm having a question about how to do it for my method. edit receive the right object from the radio button, the way it's implemented it always takes the first one from the table and not the one selecte...
asked by 20.01.2018 / 15:02
1
answer

File Upload in JSF with ajax

I'm trying to upload a file of any kind through the jsf h: inputFile element, and I try to do this with ajax, but when I try to upload this error appears in the browser console. .. Uncaught TypeError: Cannot read property 'getAttribute' of u...
asked by 16.01.2018 / 20:30
3
answers

How to hide a div when it is empty? [closed]

How do I do it? Note: I have seen an example using thymeleaf but it does not work, that is, the namespace does not recognize the project. Someone there to help?     
asked by 24.04.2016 / 07:15
1
answer

Error, Can not save to bank using hibernate

Good afternoon, Person, I need your help! I have a problem in my project, my hibernate is working on creating tables but when I did test to try to save it does not work and the following error appears in jUnit ( org.hibernate.MappingException: U...
asked by 10.09.2016 / 06:38
3
answers

Passing Attributes from a Servlet to a JSP [Closed]

Hello. I'm developing a system where the user clicks an edit button and then opens the edit page with the attributes of the object already filled in the text boxes. In my servlet, I'm using the following logic: Moto escolhida = new Moto();...
asked by 03.10.2017 / 13:50