Posts by A. Fernando • 199 points
23 posts
-
0
votes2
answers4265
viewsA: Error executing . JAR "no main manifest attribute in nutriclinweb-api.jar"
I ran the mvn package command at the project root and . jar was generated in target/name-of-your-project-1.0-SNAPSHOT.jar
-
0
votes2
answers4265
viewsQ: Error executing . JAR "no main manifest attribute in nutriclinweb-api.jar"
I am using intellij (Spring project), I have taken the right steps to generate . jar, I have tried it in many ways. Follow pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project…
-
0
votes1
answer248
viewsQ: Angular 7: Add multiple parameters to the URL with Httpparams
Reading the angular documentation I managed to develop the following search method with filters, but the problem is that I need a search with several filters and not just 1 as shows the code below…
-
1
votes1
answer254
viewsA: Angular 7: Error trying to install Primeng
I was able to solve the problem by totally deleting the node and reinstalling it, as the following topic suggests: How to completely delete Node and reinstall on all systems.…
-
1
votes1
answer254
viewsQ: Angular 7: Error trying to install Primeng
When executing the installation command the following error occurs: MacBook-Pro-de-Alisson:nutriclinweb-ui alissonfernando$ npm install primeng --save npm ERR! Unexpected end of JSON input while…
-
1
votes1
answer1129
viewsQ: Angular 7, p-table Primeng: Error: Invalidpipeargument: '[Object Object]' for pipe 'Slicepipe'
I am trying to make a list in a "p-table" of primeng, until yesterday I was listing everything perfectly, but today when running the angular project I noticed that this error was occurring. I have…
-
2
votes1
answer328
viewsQ: Primeng Rowexpand expands all lines, need it to expand only the selected
I need the expansion to be just in the line of the clicked icon, tried several ways but could not. I have the following html code: <p-table [value]="pacientes" [paginator]="true" [rows]="5"…
-
0
votes1
answer363
viewsQ: Error initializing PYGAME
I’m creating a simple replica of the game Space Invaders in Python3.7, at first I was creating the screen all with Turtle, but the game entered in a kind of infinite loop and did not execute the…
-
0
votes0
answers1348
viewsQ: Angular: CORS error when making http GET request
I need to receive a list of questions from my API and store in an Array in my angular component, I’ve done it several times in other projects and it always worked out that way, only this time there…
-
2
votes2
answers2340
viewsQ: Error: "java.text.Parseexception: Unparseable date: "2018-11-14T12:12"
I have the following data insertion interface: The comments below represent attempts to fix the error but none worked. In HTML the type is datetime-local, in the bank the type was created as…
-
0
votes0
answers322
viewsQ: javax.servlet.Servletexception
I’m doing a basic user registration with Servlet. When I click on the sign up button I get the following error page (everything has been revised and is in perfect working, I believe it is something…
-
0
votes1
answer157
viewsQ: Sum result redirect in JSP Servlet
I need to show the result of a sum on a redirected page, I tried a "setAttribute" after "Redirect" but it doesn’t work. The sum value would have to go to an "input" on the next page, or on an…
-
0
votes0
answers337
viewsQ: Double format with two house
I’m treating a file .csv with a id, value (1,214.45) and I need to format a final sum of these values with only two boxes after the comma. I developed the following code snippet: `DecimalFormat df =…
-
5
votes3
answers2851
viewsQ: Java repeated letter counter
I made a method to count the repeated letters that are stored and ordered alphabetically within a list. The method is counting right but the bug is at the time of printing, it prints the letter and…
-
2
votes1
answer1274
viewsQ: Method that returns how many levels has a Binary Tree
I’m trying to implement a Binary Tree for the first time but I’m having difficulty in the method that returns the amount of levels present in the tree after filled. The method below can perfectly…
javaasked A. Fernando 199 -
1
votes2
answers117
viewsQ: "java.lang.Outofmemoryerror" error with List
I have the following statement of the problem: A method that takes an integer as a parameter and returns a list of integers with their decomposed prime factors. As an example, if the input is number…
-
3
votes2
answers932
viewsQ: GROUP BY SQL error
I have the following exercise: List the department code and name, newest and oldest admission date of each department, sort by department name. Here’s what I did: select d.department_id,…
-
0
votes1
answer350
viewsQ: Invalid SQL (INNER JOIN) indenter error
Select a list of employees who have changed positions or departments (job_history), the list must contain the employee’s registration and name, the name of the department and position that worked,…
-
0
votes1
answer101
viewsQ: Error in the interlayer method elements with Mergesort in a List<Integer>
This part of the algorithm has the function of bridging the elements of a List<Integer> (list of normal integers) using the Mergesort sorting algorithm. ERROR ON LINE 7 private static List…
-
0
votes1
answer76
viewsQ: Method malfunction Remove at position defined in Dynamic List
The following method performs a removal of an element at a pre-defined position in the test class but appears not to be working even if there are no syntax errors and errors in the teacher’s test.…
-
0
votes1
answer216
viewsQ: Insert with "for" into a chained list
I have a question, the teacher asked to insert elements in the chained list using the "for" but I’m having difficulty, the Class that creates the node is already working perfectly and the part that…
-
-4
votes2
answers54
viewsQ: Mounts a vector with 5 students, in the fifth student this vector multiplies by 2, being able to give input to 10
private Aluno alunos[]; private int ultimaPosicao; public int tam=5; /** * Construtor */ public VetorDeAlunos(){ alunos = new Aluno[tam]; ultimaPosicao = 0; } /** * Metodo para inserir aluno na…
javaasked A. Fernando 199 -
0
votes3
answers400
viewsQ: Make a Static method in the main class that writes on the screen all even numbers from 1 to 10000 that are palindromes
This is my method: public static void B() { int vet[]=new int [100]; int vet2[]=new int [vet.length/2]; for(int i=0;i<=vet.length;i++) { vet[i]=i+1; } for(int i=0;i<vet.length;i++) { int rest…