Questions tagged as 'java'

2
answers

Application consuming a lot of server resource

I'm facing a problem with an app in Java for Android, the app apparently arrives at a point that consumes excessive server resource, if many users connect in the app comes to the point of knocking down the server, the app is in integrated Java w...
asked by 28.03.2018 / 20:45
1
answer

Connection Pool opens connections but does not close later!

I'm experiencing some problems with my postgresql connection pool with java, where it's called by my DAO methods quietly, but it does not close after the method is executed, and it gets in the way when I do some research and the bank is full of...
asked by 28.03.2018 / 19:51
0
answers

java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected AST node: query

I'm having to do a SELECT in JPA that contains an ORDER BY by selecting from another table. Small representation of tables: WhenIdiditforSQLitwasnormal,butwhenIturneditonJPA,itdidnotwork,andifItakeouttheJPAitworksnormally.  2018-03-2816:36:2...
asked by 28.03.2018 / 21:41
0
answers

Java tomcat, server.xml configuration

'Context docBase="C:/ArchivesClinicas/pacientes"path="/Clinicas/paciente/foto/"' 'Context docBase="C:/ArchivesClinicas/usuarios" path="/Clinicas/usuario/foto/"/' So far, the problem is that the interceptor (filter class) does not fire...
asked by 27.03.2018 / 16:58
0
answers

Form creation

I'm starting to develop a web application using SpringBoot and to do the CRUD I'm using the native features like thymeleaf, controllers, DataJPA and etc. Until then everything seemed very quiet and easy to do, but there are some situations in th...
asked by 28.03.2018 / 16:04
0
answers

Problem with importing a javaWeb project from gitHub to netbeans

I'm working on a project using jsp, and gitHub for version control. The project is already in gitHub because another team member created it. I even cloned the project for netbeans, make commits etc. The only problem is that when performing cloni...
asked by 04.04.2018 / 04:42
0
answers

Error Null Object

I am developing an app delivery (with client version and adm) in which in the administrator version it changes the status of the requests through a spinner, after this the client app receives a status update. The problem is that when I change th...
asked by 03.04.2018 / 17:43
1
answer

Print Negative Line DPP-450 Escapos Datecs

I'm starting a project on this printer (DPP-450), and I came across a problem that I can not solve: I need to print a negative line, black background and white writing. In the manual this "GS B" as the code for this, but I can only execute th...
asked by 03.04.2018 / 15:55
0
answers

Modular Project - Spring (boot)

I need to create a modular project like the example described below: How do I do it? ProjetoPrincipal | |_ProjetoPrimeiro | |_src | |_main | |_java | |_br | |_minhaempresa | |_model...
asked by 07.04.2018 / 23:00
0
answers

Error in String.replace Java

I'm having a hard time running String.replace("á","a") In my case I type canada and I want the canada exit, but in the output it appears instead of a square, as if there were an invalid character there.     
asked by 26.03.2018 / 05:30