Posts by Jose.Lemo • 489 points
21 posts
-
0
votes1
answer88
viewsQ: Why are you not entering the if?
I want to perform an operation if the 2° position of a string is higher, but it is not entering the if, and I think the if is not correct. Example: digital user 4A6 then in this string the 2°…
-
1
votes0
answers49
viewsQ: Build error on this line of code
I have an algorithm here that is showing compilation error on this line #include "filadvet.hpp". I’m not gonna show you all the code because the algorithm is big and there’s no need. The rest of the…
-
2
votes2
answers7292
viewsQ: Filter elements from a Python list
Guys I want to remove all numbers equal to 1, but is giving this error list index out of range Follow the program lista= [2, 3, 1, 5, 1, 7, 8, 8, 9, 15, 1, 1] qtd = len(lista) for i in range(qtd):…
-
2
votes2
answers2953
viewsQ: My application does not start in Spring-Tools Suite
I created a Maven project in Spring-Tools Suite when I started this error appears: Exception in thread "main" java.lang.IllegalStateException: Failed to read Class-Path attribute from manifest of…
-
3
votes1
answer197
viewsQ: Why isn’t this method adding up?
I’m trying to put two numbers together by Swing and JOptionPane, but is appearing error below. Someone to help me solve this ? Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:…
-
1
votes3
answers1781
viewsQ: How to validate a double field?
Good afternoon guys, I’m not able to validate the field type value double The field I cannot validate for the registration is the field valor. Follows the class method to validate the data to…
-
1
votes2
answers77
viewsQ: Nullpointexception in the register method
Does anyone know how to solve this nullPointExcetion? In the second way I am using two combobox Follows the class Clientedao package DAO; import Beans.ClienteBeans; import Utilitarios.Conexao;…
-
1
votes1
answer3473
viewsQ: Error creating table with flyway using Maven
I’m with this error below when creating the wine table using flyway, this is a Maven project, anyone knows why gives this error? Estates spring.jpa.database=POSTGRESQL…
-
1
votes1
answer1243
viewsQ: Error resolving template when running Spring application
I’m having trouble running this Spring application, I followed the steps of a booklet, but came up these errors below. How do I solve this problem? Mistakes: Error resolving template…
-
3
votes1
answer163
viewsQ: Why are you not loading this image in javascript?
I’m trying to upload these three images in the document but I’m not getting it, does anyone know why not upload? Follow the xhtml file: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"…
javascriptasked Jose.Lemo 489 -
5
votes1
answer609
viewsQ: Loading multiple images through Javascript
I’m trying to load an image through Javascript but it didn’t work. HTML looks like this: <img src="img/bola.jpg/>, but in Javascript I don’t know. The code below is to show loading multiple…
-
0
votes1
answer71
viewsQ: Can anyone tell me why this image (css) isn’t loading?
I’m doing an exercise here, but I’m not able to load the image img/baladinha.jpg. Note: I haven’t put images on the body Code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"…
-
3
votes4
answers1442
viewsQ: Document.writeln() is in disuse javascript
When document.writeln() used to display text in html is out of use? Does anyone know another way to display a string on the screen? Follow the xhtml <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0…
javascriptasked Jose.Lemo 489 -
1
votes0
answers1039
viewsQ: How to exchange messages with java Socket server and client?
I am unable to exchange server messages to the java Socket client. The server is ready, but the client cannot do according to the server. Which class sends message to the server? Below are the…
-
3
votes1
answer69
viewsQ: Nullpointexception when inserting element in list
In the code below is coming out a Nullpointexception, I tried to fix without changing completely the code but it did not work, someone has a simple solution? I’m looking to add a product to the list…
-
2
votes1
answer467
viewsQ: Error creating login screen with Javafx
Good evening guys, I’m wanting to implement a login screen with the following fields, but it does not appear the other fields, appears the user field and password Forgot the login click…
-
0
votes1
answer106
viewsQ: Why is the description variable leaving null?
I don’t understand why the variable descricao not producing the values. In this case, it should go out like this: Old charger connecting two-pin connector socket But it’s coming off: Old charger…
-
2
votes1
answer2135
viewsQ: NULL error when adding a new line
Good guys, I have a bench as described in the image below: I have some questions: A) Uma geladeira da marca Brastemp 220 V que custa R$ 700. B) Três cadeiras de madeira em cores diferentes, cada uma…
-
-1
votes1
answer2773
views -
2
votes1
answer1476
viewsQ: ERROR Could not open Connection and user root
Is happening these errors below in my application: Note: I am using Maven. Follow an image of how the project structure looks in the eclipse: Follow the mistakes below: out 22, 2015 11:03:58 PM…
-
0
votes1
answer809
viewsQ: Persistenceunit: fabricaweb2 Unable to build Entitymanagerfactory
I have this error below, you are not able to create the Entitymanager. I am using the Maven and the folder META-INF this one inside src/main/Resources in the root folder where the entities are…