when I type psql in the terminal, it shows me this message even though I installed the app. what is causing this and how can I fix it?: psql : The term 'psql' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + psql + ~~~~ + CategoryInfo : ObjectNotFound: (psql:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
This issue is because of plugins. While initialising you need to add mysql dependency instead of PLSQL. if already created, use pom.xml to add the dependency for MYSQL
I need your help briefly: how do I implement photos or icons in vs. code? I haven't found a solution yet, no matter how many times I googled it. I would be very happy about an answer :D
You will have to configure CORS (cross origin resource sharing ) manually in spring boot define from which origin (suppose localhost:3000/) you will allow request and what type of Resquest methods (get , put , post etc) you’ll allow
simply got to controller class and after the @Controller annotation simply write @CrossOrigin . It will autoamatically pickup the different port request.
Nice work, can you implement roles, for example admin and user, where admin will have access to admin pages from nav bar, if user is logged in he will not see those pages and if he type that url he will not be able to access it
Amazing work! I have questions tho xd Can I use mysql instead of postgresql or instead of jpa use html? I am new to spring boot and would love to know.
Of course you can. All you have to do is to change the dependency in gradle or maven or whatever you like to use and add the driver class to konfiguration. The rest works as shown in the Video.
I done everything properly. I don't have any login page seprate i have it in home page .and login page getting access to any random password and username not securing as such.
I reproduced your code 2 times and got the same errors both times. During the day I still couldn’t figure out what was going on. Error code in vs code The method setUserDetailsPasswordService(UserDetailsPasswordService) in the type DaoAuthenticationProvider is not applicable for the arguments (MyAppUserService). And Intellij displays another error: java: incompatible types: com.website.demo.Model.MyAppUserService cannot be converted to org.springframework.security.core.userdetails.UserDetailsPasswordService. Maybe you can tell me what could be the matter...
Thank you so damn much, this is probably the best tutorial about spring authentification much better than the BS 3 hour all-talk BS.
Glad it was helpful!
waiting for the email registration tutorial. thanks for your work!
Will do soon
@@AlanLands yeah, ppppllllssssssss
when are u doing the new vid? I realy need it for my app. Else I have to spend some money in a coach :(
Very detailed one!! Really nice!!
In your next project can you use React Js instead of thymleaf
I downloaded your code from github, but the style.css doesn't work
Hi, controller does not return the html file.
where do you get the bad credentials message?
when I type psql in the terminal, it shows me this message even though I installed the app. what is causing this and how can I fix it?:
psql : The term 'psql' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that
the path is correct and try again.
At line:1 char:1
+ psql
+ ~~~~
+ CategoryInfo : ObjectNotFound: (psql:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
This issue is because of plugins.
While initialising you need to add mysql dependency instead of PLSQL. if already created, use pom.xml to add the dependency for MYSQL
I need your help briefly: how do I implement photos or icons in vs. code? I haven't found a solution yet, no matter how many times I googled it. I would be very happy about an answer :D
github.com/Alanlands1/springbootBackend
@@AlanLands for what is this link? I dont understand :/
@the.golden.Alpha. Source code for the application
@@AlanLands when comes ure next vid (abt. E-Mail certyfication)? I reale waiting for it :DDD
Hi I want java spring boot project GitHub respostary for add in resume
good vid!!!!
can you do a logout functionality
What if my fronted is made with react js and runs on port 3000 and the spring server runs on port 8080?
You will have to configure CORS (cross origin resource sharing ) manually in spring boot define from which origin (suppose localhost:3000/) you will allow request and what type of Resquest methods (get , put , post etc) you’ll allow
simply got to controller class and after the @Controller annotation simply write @CrossOrigin . It will autoamatically pickup the different port request.
Nice work, can you implement roles, for example admin and user, where admin will have access to admin pages from nav bar, if user is logged in he will not see those pages and if he type that url he will not be able to access it
Will do soon
Amazing work! I have questions tho xd Can I use mysql instead of postgresql or instead of jpa use html? I am new to spring boot and would love to know.
Of course you can. All you have to do is to change the dependency in gradle or maven or whatever you like to use and add the driver class to konfiguration. The rest works as shown in the Video.
i am resigtering user successfully but failing in login user as everyone any username and passwoed access it tell me what to do
Please make sure you encode the password
I done everything properly. I don't have any login page seprate i have it in home page .and login page getting access to any random password and username not securing as such.
@nikhil4yourhelp670 I will upload all the files in GIT soon
@nikhil4yourhelp670 if you want just login page and Registration page html github.com/Alanlands1/springboot
I have same problem bro..plzz help@@nikhil4yourhelp670
well can i use MySQL
yes, you can
We can MySQL instead of postgresql?
Yes
where is the loaduserbyusername called?
github.com/Alanlands1/springbootBackend
We need the next vid :(((
Where is code..?
Uploaded
❤
can i see your repo sir?
Description 😊
I reproduced your code 2 times and got the same errors both times. During the day I still couldn’t figure out what was going on. Error code in vs code The method setUserDetailsPasswordService(UserDetailsPasswordService) in the type DaoAuthenticationProvider is not applicable for the arguments (MyAppUserService). And Intellij displays another error: java: incompatible types: com.website.demo.Model.MyAppUserService cannot be converted to org.springframework.security.core.userdetails.UserDetailsPasswordService. Maybe you can tell me what could be the matter...
I will upload the code by end of the day in git
github.com/Alanlands1/springbootBackend
@@AlanLands Thank you!
❤