Posts by Bruno Roberto • 81 points
12 posts
-
0
votes1
answer376
viewsA: How to configure a custom Swagger json file in Spring boot?
Add this class to the project: @Configuration @EnableSwagger2 public class SwaggerConfig { @Bean public Docket productApi() { return new Docket(DocumentationType.SWAGGER_2) .select()…
-
0
votes3
answers210
viewsA: Load Tomcat into Java Desktop application
I already faced this problem, my solution was to use framewok: http://sparkjava.com/ He uses Jetty as a server. And he’s very quiet. In my case I generated a . jar of my project, to start on the…
-
0
votes1
answer62
viewsA: When I click on Listview to open another Aciticity the app hangs and Fexa
You should include your new "Activity" in the "Androidmanifest.xml" file" <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name"…
-
0
votes1
answer124
viewsA: Error: Could not parse Configuration: Hibernate.cfg.xml
For my projects I’m using this dialect: org.hibernate.dialect.MySQL5InnoDBDialect Maybe this information can help you: Swap this : <property…
javaanswered Bruno Roberto 81 -
0
votes1
answer59
viewsA: Read only a portion of a. txt file in Java
Depends on the file pom.xml <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-yaml</artifactId>…
javaanswered Bruno Roberto 81 -
-1
votes2
answers592
viewsA: Spring Modelling JPA Person -> Personal Modelling -> Function
You can create a pess table as follows: create table pess( id NUMBER not null, email VARCHAR2(100), forn VARCHAR2(1) default 'f') OBS: the above script has as an example ORACLE. The Person class:…
-
0
votes1
answer938
viewsA: Error connecting spring boot to mysql
According to the error, you may be having problems with flyway, however, there are some variants that may be causing this problem, it is up to you to analyze and verify which would be the most…
-
1
votes1
answer426
viewsA: Rendering map using spring boot API
In your javascript you are consuming the following url: url: "/Restapicontroller/markers" But in your control you have : /api/markers @RestController @RequestMapping("/api") public class…
-
0
votes2
answers1478
viewsA: Spring Boot paging with custom SQL query method
First you should check which select for paging your bank uses. Oracle: select * from ( select p.id,p.name, rownum as rn from Pessoa p where rownum <= #{pageNumber} + #{pageSize} and p.name like…
-
3
votes2
answers246
viewsQ: TDD with micro services
I have two micro services one depends on the other, the micro service B depends on the A. I wrote tests for the A and for the B. The test of the A wheel does not depend on any other project, but the…
tddasked Bruno Roberto 81 -
0
votes1
answer325
viewsA: Signature validation error in Iti checker using demoseller to sign document
Actually something really weird happened. I restarted the computer and created a new project, and everything worked normally. Now everything doesn’t make sense. Maybe this one…
-
1
votes1
answer325
viewsQ: Signature validation error in Iti checker using demoseller to sign document
I am signing documents in CADES format and using the Demosello library in version 3.2.10 "org.demoiselle.Signer","org.demoiselle.Signer", and "org.demoiselle.Signer" the act of signing and checking…