Posts by wladyband • 4,694 points
426 posts
-
2
votes1
answer1110
viewsQ: How do I return in json to Foreign key in Spring Boot?
As you can see it is returning to the cities without any problems in the following URL: http://localhost:8080/cidades, watch: This is a return coming straight from the database with a select * from…
-
0
votes1
answer201
viewsQ: How to work with arrays at Angular 5
I’m taking the list like this: listarTodosEstados() { return this.http.get<any[]>(`${this.estadosUrl}`); } This is my Component: pesquisarEstados() { this.cidadesService.listarTodosEstados()…
-
1
votes0
answers975
viewsQ: How to mount a dynamic combo with angular 5?
I’m trying to build a dynamic combo with Angular, but I’m not succeeding, I can implement with static values, but I was unsuccessful when I went to adapt it with my Java API that has database…
-
0
votes1
answer226
viewsQ: How to apply javascript events to Angular?
I’m having a huge difficulty applying Javascript in my Angular project, I hit the setup to connect javascript in the project, but come on... This is the Javascript file; var Brewer = Brewer || {};…
-
0
votes1
answer4161
viewsQ: How to apply console.log at the angle?
I want to apply console.log in the angular method, but I’m having difficulty, I’m doing so; export class CervejaService { cervejasUrl = 'http://localhost:8080/cervejas'; constructor(private http:…
-
0
votes1
answer360
viewsQ: How do I refresh the Angular Primeng Automatic Dropdown?
Be able to implement a Dropdown in a registration form as you can see in the figure below in the field Style; If you stop to observe in the right corner of the field has an icon, when clicking on…
-
0
votes1
answer1356
viewsQ: How to create components in Angular?
Look at the structure of the project The page estilo-cadastro.component.html is found that way as you can see below. <div class="container"> <form #f="ngForm" autocomplete="off"…
-
0
votes2
answers2556
viewsA: How to print the error message in Angular?
The change has to be made only in the add method in the file styled.service.ts with this change the error manager is responsible in gives a get on the error message of the Java API, it had already…
-
0
votes2
answers2556
viewsQ: How to print the error message in Angular?
I am new as Angular programmer, I have been studying for a little while and I really need help to solve a problem in my Spring Boot project with Angular. I’m looking to print the Java API message on…
-
0
votes0
answers127
viewsQ: How to add another exception rule in Angular?
Before showing my problem I would like to inform you that my form is able to insert records in the database, I created an exception in my java API, the error message in the figure below is expected,…
-
5
votes2
answers16831
viewsQ: Nullinjector error: No Provider for
I’m getting this error message: ERROR Error: StaticInjectorError[CervejaService]: StaticInjectorError[CervejaService]: NullInjectorError: No provider for CervejaService! at _NullInjector.get…
-
1
votes0
answers244
viewsQ: Working with Angular validation messages
This is my beer register I set up the error messages with these lines of code, it’s here: import { Component, OnInit, Input } from '@angular/core'; import { FormControl } from '@angular/forms';…
-
0
votes1
answer222
viewsQ: I cannot load my Grid at Angular
Watch my Angular Front-end project Brewer-ui Now watch my Back-end Java project with Spring Boot Brewer Don’t worry about my Back-end project, it’s working well, the problem is my Angular Front-end…
-
0
votes0
answers59
viewsQ: Questions about installation modes in Angular
Let’s assume I want to install a specific version of bootstrap in my angular design, the command would be this: npm install [email protected] --save This command is required to be included in…
-
0
votes0
answers71
viewsQ: How to work with interchangeable menu?
I’m trying to implement an interchangeable menu, see below: When you click on the three chopsticks it opened a vertical menu on the right side of the screen: When you click on the three chopsticks,…
-
0
votes1
answer523
viewsQ: Angular error message
i installed the bootstrap at the angle with this command: npm install bootstrap@next -save and then include the path in the file .angular-cli.json "styles": [ "styles.css",…
-
0
votes0
answers273
viewsQ: How to work with Angular Primeng Slidebar?
Look at the two components: Sidebar Menu - Panelmenu First I’ll show you how the application is behaving, then I’ll show you what I’m trying to implement. The system is behaving like this; The…
-
1
votes1
answer1705
viewsQ: How to import Javascript in angular?
Greeting to all, I know how to import the css files into a project made with the new version of Angular as you can see below: Archives angular-cli.json "styles": […
-
0
votes3
answers5591
viewsA: How to Configure CORS correctly in Spring Boot?
I manage to solve my problem with the solution below, but it also works with the @Giovane solution and so much that I preferred to validate the @Giovane answer because it is valid. A first thing…
-
4
votes3
answers5591
viewsQ: How to Configure CORS correctly in Spring Boot?
First I’ll tell you what happens! I developed a simple Spring Boot project to show on screen a GRID having as Frond-End the Angular, the request of the java API is the port 8080 and Angular is port…
-
3
votes1
answer1502
viewsQ: API at port 8000 and Angular at port 4200, how to resolve?
My system is making a request on port 8000 from localhost 4200 When a request is made by a protocol a domain on ports other than the origin, which is my case the Angular application is at port 4200…
-
1
votes1
answer687
viewsA: How do you turn a Spring Boot project into a . jar file?
I installed Java 8 and it worked, I found the solution here: How to resolve java.lang.Noclassdeffounderror: javax/xml/bind/Jaxbexception in Java 9 Suffering with Java 9: where is my JAXB?…
-
1
votes1
answer687
viewsQ: How do you turn a Spring Boot project into a . jar file?
Guys I don’t know how to turn a Spring Boot project into a file. jar My attempt was to enter the project through msdos and with the command mvn install can create the file . jar However several…
-
1
votes2
answers5772
viewsQ: How to save the entire project using Visual Studio Code
all right? I’m using Visual Studio Code, and when I change three files, I have to go from file to file to save each individually. Is there any command on Visual Studio Code to save all the project…
visual-studio-codeasked wladyband 4,694 -
0
votes1
answer687
viewsQ: Working Flyway with Postgresql Database
Take a look at the repository. Repository of the Algaworks Institution This project is not mine, but my project is identical to this one with a single difference, I am using Postgresql database and…
-
1
votes1
answer473
viewsQ: By clicking the.sql file it goes to Mysql Workbench
See the image: Every time I click on the selected file which is an SQL file it opens the Mysql Workbench, it was to open a file in spring tools. This must be some IDE setup, someone would have a…
spring-bootasked wladyband 4,694 -
2
votes0
answers140
viewsQ: How to create tables in Postgre with fields not null?
good morning gentlemen, I made my attempt to create my Postgre table this way: CREATE TABLE categoria ( codigo BIGSERIAL, nome VARCHAR(50) NOT NULL, PRIMARY KEY(codigo) ); Despite the countryside…
-
1
votes1
answer782
viewsQ: How to know that the attribute is not null in the Postgresql database?
I am developing a Java system with Spring Boot and created the table as not null as you can see: CREATE TABLE categoria ( codigo BIGSERIAL, nome VARCHAR(50) NOT NULL, PRIMARY KEY(codigo) ); The…
postgresqlasked wladyband 4,694 -
2
votes2
answers3090
viewsQ: Working with application.properties file
See my application.. properties file: spring.jpa.database=POSTGRESQL spring.datasource.platform=postgres spring.jpa.show-sql=true spring.jpa.hibernate.ddl-auto=create-drop…
-
0
votes1
answer1293
viewsQ: How to use netstat command?
I am testing on my local computer a java application, but I can’t get my application up because port 8080 is being used by some service that I don’t know which is. How do I know which service is…
-
2
votes1
answer8231
viewsQ: Connect Springboot with Postgresql
I’m trying to connect the bank with Springboot and I’m thinking my problem is here: # =============================== # = DATA SOURCE # =============================== # Set here configurations for…
-
1
votes0
answers505
viewsQ: Postgresql connection problem
My newly installed Postgresql gave this error: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (::1) and Accepting TCP/IP Connections on…
postgresqlasked wladyband 4,694 -
3
votes1
answer43
viewsQ: The "code Completion" window has few drawable alternatives to insert
You notice that there are several imported libraries in my Android Studio: But when I import an image to my project there are only a few alternatives as you can see below: It was to appear more…
android-studioasked wladyband 4,694 -
1
votes0
answers106
viewsQ: Problems with Vue in an Laravel project
This is my project. http://laravel-vue-axios.herokuapp.com/ He is able to save, delete and edit, but when I do the actions I cannot perform the automatic refresh in the browser, I don’t even know…
-
0
votes1
answer406
viewsQ: How to make the Laravel project see the Xios file?
Before I was having trouble getting the project to see the Vue file as you can see in this post: I need to make my Javascript file see the Vue and Axios files He was like this : And now it’s like…
-
0
votes0
answers402
viewsQ: Heroku has temporarily disabled this Feature, Please Try Again shortly
Does anyone know how to solve this problem? I execute this command heroku apps:create wb-arm-wladimir And made that mistake: C:\Users\Wladimir\Documents\teste>heroku apps:create laravel-vue-axios…
-
1
votes1
answer126
viewsQ: I need to make my Javascript file see the Vue and Axios files
I recently created an Laravel project that is using Vuejs and Axios, and then sent it to the Heroku server, but something strange happened, the page is with the very strange view is giving error in…
-
0
votes1
answer230
viewsQ: Laravel store method with problem
I’m trying to implement a POST in this method: public function store(Request $request) { $veiculo = new Veiculo($request->(['marca', 'modelo', 'ano', 'preco'])); $veiculo->save(); return…
-
0
votes0
answers579
viewsQ: Heroku Server does not recognize my CSS and Javascript files
I recently created a project Laravel that is using Vuejs and Axios, and then sent to the Heroku server, but something strange happened, the page is with very strange visualization and I realized…
-
2
votes0
answers73
viewsQ: How to install npm on the Heroku server?
Greeting to all, I recently sent an Laravel project with Vuejs to the Heroku server, and I realized that it did not recognize my App.js file where the methods created by Vuejs are, this file is in…
-
1
votes0
answers65
viewsQ: The Heroku server does not recognize my vueJs file
I made the deploy of my Laravel project as shown in the video below: CLICK ON THE VIDEO Everything worked out, but when I went to load the page again appeared this: When trying to perform any…
-
1
votes0
answers201
viewsQ: How to configure Laravel on Heroku?
Greeting to all, I put an Laravel project in Heroku, and can configure the data group with my Laravel project, or if, manage to migrate the database using php commands in Heroku, to be able to make…
-
0
votes1
answer545
viewsQ: How to fix validation messages?
I am learning to program in Laravel with Vuejs, I am beginner, I started to develop a simple CRUD and managed to implement all the functionality of a CRUD, including field validations, my problem is…
-
1
votes0
answers448
viewsQ: How to load select in Vuejs
I managed to implement the edit button, by clicking the button it will load all the records that exist in a database in a folder, I can load all fields except the selects. The problem is I’m not…
-
-3
votes1
answer4404
viewsQ: How to change the width of the modal bootstrap?
Analyze the image below; You notice that the number field is cut because the modal form needs a larger width, I made these attempts below, but without success. This is my page; <form> <div…
-
0
votes1
answer314
viewsQ: My Laravel project does not see my Javascript file
The structure of my project is like this: The main layout page is this, this is where I get the file Vue, Axios and the app: <!DOCTYPE html> <html lang="pt-br"> <head> <meta…
-
0
votes1
answer614
viewsQ: How to set up an Laravel project with Vuejs
Greeting, I am a simple Laravel project and would like to configure my project to accept Vue.js, but I’m getting this error message; "Use of undefined constant titulo - assumed 'titulo' (View:…
-
1
votes1
answer39
viewsQ: Working with Routes in Laravel
This is the structure of my project where my page is; This is my controller; public function create() { return view(imoveis.create); } It is configured so my route, is in my file web.php;…
-
-3
votes1
answer33
viewsQ: Syntax error Unexpected END_OF_LINE in line 2 php.init
see the Error You’re saying it’s in this file I just can’t tell where, can anyone identify?…
-
1
votes2
answers1735
viewsQ: Install PHP plugin for Atom editor
I’ve installed several Plugins of Atom to enable resources to recognize syntax of PHP in my project, but I didn’t succeed, what is my goal? And when I type the code it can complete, see the example…