#25 Project using Spring Add Product with Image

  Рет қаралды 17,460

Telusko

Telusko

Күн бұрын

Пікірлер: 56
@VarshaRavula
@VarshaRavula 13 күн бұрын
Reason for axios error- it only works when you set your image product name as imageFile. might be tightly coupled. you can see it only allows product name imageFile in react code AddProduct.jsx file line 30.
@harshverm776
@harshverm776 5 ай бұрын
*Sir, Why we have stopped making Design Pattern videos? I don't think someone can explain better than you in limited time.*
@lootster
@lootster 2 ай бұрын
00:05 Adding images to new products in the UI. 02:08 Exploring the new UI and image handling in the add product page 04:08 Adding a product with image using separate methods for product and image 06:12 Specify image content type and storage method 08:21 Adding product with image in Spring 10:25 Data sent to service layer for adding product and image storage 12:27 Adding a product with an image in a Spring project 14:41 Troubleshooting image display issue 16:57 Adding a new product with an image and handling URL fetching
@Devivl
@Devivl 3 ай бұрын
Something tells me that by the end of this playlist, I'll be greeting people like, "Hey Alien!".
@santhoshl-zq1op
@santhoshl-zq1op 5 ай бұрын
hi sir , continue the series for us
@naraynwetal6544
@naraynwetal6544 3 ай бұрын
Another excellent video on the Spring Boot framework.
@naraynwetal6544
@naraynwetal6544 3 ай бұрын
Really enjoying the series, Thanku
@mekalaramesh2787
@mekalaramesh2787 4 ай бұрын
Why I am unable to use setImageName ,setImageType methods in product sevice class , sir, are you added any dependency to it or you wrote method in the product class
@mekalaramesh2787
@mekalaramesh2787 4 ай бұрын
can anyone reply who knows the solution
@khushalchandak8544
@khushalchandak8544 4 ай бұрын
Go to setting ->build,execution,development -> annotations processors -> tick the enable annotation processing
@khushalchandak8544
@khushalchandak8544 4 ай бұрын
Then again restart the ide or configure the lombok plugin its not install then install it
@mekalaramesh2787
@mekalaramesh2787 4 ай бұрын
@@khushalchandak8544 enabled but not working, still it shows to create a method on product class for setimagename and setimagetype
@mekalaramesh2787
@mekalaramesh2787 4 ай бұрын
@@khushalchandak8544 after adding lombok the issue cleared but i am unable to add product in console it showing as Failed to load resource: the server responded with a status of 400 ( ) : 8001/ apüproduct: 1 @ Error adding product: AxiosError (anonymous) @ AddProduct .jsx:47 AddProduct . jsx: 47 in post man it showing as -- "message": "Failed to parse multipart servlet request", "path": "/api/product" can you know the solution please reply
@AbhishekTiwari-nw5sq
@AbhishekTiwari-nw5sq 5 ай бұрын
Thank you for the series, I really needed this! As I am preparing for my interview. Also can you please tell about what are the MVC classes in the code, I got that model is our Product class but what are the others? This question was asked in my interview.
@tamaladhikari7950
@tamaladhikari7950 5 ай бұрын
Hi you have to tell about view and controller parts also
@jigarpatel6296
@jigarpatel6296 4 ай бұрын
can you please make video for apache kafka and how we can use with spring boot.
@ronatkumarmuni4076
@ronatkumarmuni4076 3 ай бұрын
Upload Front end implementation video also The React Part also
@vishaldindalkop294
@vishaldindalkop294 2 ай бұрын
Thank you for the video
@PriyanshuSoni-e3e
@PriyanshuSoni-e3e 3 ай бұрын
Why I am unable to use setImageName ,setImageType methods in product sevice class , sir, are you added any dependency to it or you wrote method in the product class? Hepl me out....!!
@tabishnaved
@tabishnaved 3 ай бұрын
did you create the setter methods using lombok?
@sughoshkn2728
@sughoshkn2728 3 ай бұрын
Install lombok plugin in the IDE.. then you will get the getters ,setters and constructors generated automatically and your problem will be fixed
@PriyanshuSoni-e3e
@PriyanshuSoni-e3e 3 ай бұрын
Why I am unable to use setImageName ,setImageType methods in product sevice class , sir, are you added any dependency to it or you wrote method in the product class? In Spring Boot Project Video Number = #25 Hepl me out....!!
@ashishrai4138
@ashishrai4138 3 ай бұрын
Might be , your lombok is not working . You should generate getter and setters for Product .
@baseddavidbut-upsidedown
@baseddavidbut-upsidedown 3 ай бұрын
was here!
@velank7181
@velank7181 5 ай бұрын
This video has little confused of explanation, so u will re-explain of that topic in another video detailing.... plz sir do it
@zain121-b7i
@zain121-b7i 4 ай бұрын
why i get alert message of " error adding product" ?
@manikandan2890
@manikandan2890 4 ай бұрын
same am getting did it resolved for u ???
@MohammadKhan-ibnkhan
@MohammadKhan-ibnkhan 4 ай бұрын
@@manikandan2890 Try to see in the console what the error is If it is something like could not execute statement, then you need to do this: ALTER TABLE product MODIFY image_date LONGBLOB;
@Jhadtheelasainischalsatwikqame
@Jhadtheelasainischalsatwikqame 2 ай бұрын
@@MohammadKhan-ibnkhan Thank you it worked
@devamsonigra2649
@devamsonigra2649 Ай бұрын
generating getters and setters for Product worked for me
@dragoon4060
@dragoon4060 4 ай бұрын
its me or we have nothing in the description. Link to the new UI
@SaiKrishna-xx5de
@SaiKrishna-xx5de 2 ай бұрын
desc is a keyword in sql so that's why it not getting
@DEEPAK-q7u5h
@DEEPAK-q7u5h Ай бұрын
Did anyone faced application/octet-stream is not supported issue while uploading image?
@Bhanu-g8y
@Bhanu-g8y 3 ай бұрын
I am getting an error saying update jta in spring, i am using mysql database when i try to change the attributes of product i am getting this error update jta can anyone resolve it
@paidimarrigayatri1423
@paidimarrigayatri1423 5 ай бұрын
Please provide link of java file
@lankahelth4002
@lankahelth4002 5 ай бұрын
Why Dont you use DJango insted of this? its easy to handle images... plase answer,
@cheguevara1396
@cheguevara1396 3 ай бұрын
I'm getting error adding the product in console it says axiosError..how can I resolve
@cheguevara1396
@cheguevara1396 3 ай бұрын
@@ANISHREDDYPEDDIREDDY yes bro , it worked after I assign tha variable names same as in the video especially multipart- imageFile
@ucLe-ux7zp
@ucLe-ux7zp 3 ай бұрын
I have same error message, How can fix that, bro
@cheguevara1396
@cheguevara1396 3 ай бұрын
@@ucLe-ux7zp make sure u type npm i vite before you run the frontend file and follow the same steps and variablename used in the vdo
@ucLe-ux7zp
@ucLe-ux7zp 3 ай бұрын
@@cheguevara1396 I still have the error, what I have to do now?
@dankman03
@dankman03 Ай бұрын
@@ucLe-ux7zp same
@dankman03
@dankman03 Ай бұрын
sir error in adding product
@TechHacksmohitsharma
@TechHacksmohitsharma 3 ай бұрын
34th comment
@ravisharma2406
@ravisharma2406 4 ай бұрын
MY dates are not saving properly after applying @JsonFormat, can someone help to resolve this issue
@starbotgaming6807
@starbotgaming6807 4 ай бұрын
@PostMapping(value="/product") public ResponseEntity addProduct(@RequestPart Product prod, @RequestPart MultipartFile imageFile){ try{ Product product = productService.addProduct(prod, imageFile); return new ResponseEntity(product, HttpStatus.CREATED); } catch(Exception e){ return new ResponseEntity(e.getMessage(), HttpStatus.INTERNAL_SERVER_ERROR); } } I did the same but I am facing an issue while adding the product. It says Resolved [org.springframework.web.multipart.support.MissingServletRequestPartException: Required part 'prod' is not present.]
@zain121-b7i
@zain121-b7i 4 ай бұрын
facing same issue ... you found solution?
@karanpartap4263
@karanpartap4263 4 ай бұрын
same, but for me it says the image part is not present
@yatishj6283
@yatishj6283 3 ай бұрын
What is the resolution?
@SivanesanThulasiRaman
@SivanesanThulasiRaman 2 ай бұрын
the prod need to change it as product because in frontend it defined like that try its realy works
@SivanesanThulasiRaman
@SivanesanThulasiRaman 2 ай бұрын
@@karanpartap4263 the name of the image File and product nust be same as the vedio try it
#26 Project using Spring | Fetching Image
7:06
Telusko
Рет қаралды 11 М.
#24 Spring Boot Project | Response Entity and GetByID
13:20
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 156 МЛН
SIZE DOESN’T MATTER @benjaminjiujitsu
00:46
Natan por Aí
Рет қаралды 5 МЛН
How many people are in the changing room? #devil #lilith #funny #shorts
00:39
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 11 МЛН
Harsh Truth of Java in 2024! Ft. Ultimate Java Developer @Telusko
28:46
#35 What is JWT and Why
14:47
Telusko
Рет қаралды 28 М.
#28 Project using Spring Search Feature
15:19
Telusko
Рет қаралды 16 М.
NVIDIA’s New AI: Stunning Voice Generator!
6:21
Two Minute Papers
Рет қаралды 104 М.
Software engineer interns on their first day be like...
2:21
Frying Pan
Рет қаралды 14 МЛН
Why is Python 150X slower than C?
10:45
Mehul - Codedamn
Рет қаралды 28 М.
What are Microservices?
9:06
Telusko
Рет қаралды 171 М.
#36 Spring Security Project Setup for JWT
16:43
Telusko
Рет қаралды 23 М.
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 156 МЛН