some project idea's to get more clarity on networks 1) create a packet sniffer 2) create a basic http server / https server using OpenSSL that can do post and get request methods 3) create a server with polling mechanisms like epoll, kevents, select etc.
Running IRCTC.... something went wrong Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. sir , this warning is popping up after running the project , i searched for this on chatgpt and others but unable to fix this . Help if anyone can.
Make sure your project language version and in application java versions are correct. And if it is not an error and it is a warning then no need to fix it as of now. Try using correct java versions in intelliJ settings and restart the ide. People also asked this in comments earlier so you can go through if anyone faced the same and fixed
Just clarify one thing in App file in case 2 why you don't use loginUser method instead of that you created another another object which doesn't make any sense as in login we have to check whether that username and passowrd present or not Please reply
agar old user login karega to again ticketBooked(stored in db) empty array of jayega and userId bhi new create hogi? because we are creating user object again.
After writing code by myself and even after copy pasting your code it is showing Excpection catch(" There is something wrong") and program executes by showing this only . ? can you go through your Repository again ? or do something?
@@pranjalvashisth9816 0 task completed what ? Did you check the latest link in the description for the code. it is compiling and running earlier one had some syntax issue
@@SinghDevHub Bro I have done as u said in the video but still I am getting errors like gradle the created project is incompatible with gradle 9.0. I have googled and chatgpt from 3 days but still I am not able to make it work
@@SinghDevHub PID STATUS INFO 5672 IDLE 8.7 29756 STOPPED (stop command received) 6968 STOPPED (by user or operating system) 13956 STOPPED (by user or operating system) 19888 STOPPED (by user or operating system) 35704 STOPPED (by user or operating system) 9760 STOPPED (by user or operating system)
sir whenever i run the project it shows Running Train Booking System There is something wrong Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. I tried to debug but can't resolve , anyone please help if possible.
Bro set java version in project setting (ctrl+;) and change the jdk and all things there to your java version. It should work then. If not run ./gradlew clean and then run
@@aritrakar2492 restart the IDE, make sure lombok annotations are working and refresh the project. Delete .gradle and .idea and run ./gradlew clean build again
@@SinghDevHub I also faced the same problem, after putting hours to debug its working fine. @JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) @JsonIgnoreProperties(ignoreUnknown = true) this annotations needs to used in entities at class level. This works for me 👍
Sorry sir the thing is my project is successfully able to run and my user and login is working smoothly but my search train, fetched booking and select seats is give an error when I'm trying to use these options. I already tried my time to debug the problem but couldn't get the success 😔. But I already made the cancel booking function and it's working smoothly 😌. Just these 3 function giving me the problem and I'm trying to find the solution by reading the error but couldn't understand what it's mean ☹
Bhai kaise ho, I hope ab theek hounge tuci. Bhai yr mujhe ye ni smj aa paa rha structure ki kaunse file me kaunsa function hona chaiye **bookTrainSeat** banaiye hai humne **UserBookingService ** me kyu banai **trainService** me kyu nahi banai ?
Bhaiya in last video everything is working perfectly as just I'm using VSCode I dk why dependencies (com.fasterxml.jackson.databind.ObjectMapper) are not getting auto downloaded and also I tried to download from terminal using command gradle build but still that dependencies error I'm facing of.Please do help so I can proceed with this video and further enjoy the learning.
Bcuz as I too have Eclipse installed so this many code editor would be really confusing and also I has never tried Intellij so any solution for VSCode is high appreciated or else at worst case I'll have to shift to Intellij@@SinghDevHub
C:\Users\Dell\Desktop\IRCTC\app\src\main\java\ticket\booking\App.java:79: error: constructor UserBookingService in class UserBookingService cannot be applied to given types; userBookingService = new UserBookingService(userToLogin); ^ required: no arguments found: User reason: actual and formal argument lists differ in length bhaiii ye error ahhh raha hai or snakecase file Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('/' (code 47)): maybe a (non-standard) comment? (not recognized as one since Feature 'ALLOW_COMMENTS' not enabled for parser)
Thank you for the video series, within 3 -4 videos I got an overall Java revision and learned how to implement the core Java concepts in a project.
Thanks bhai
some project idea's to get more clarity on networks
1) create a packet sniffer
2) create a basic http server / https server using OpenSSL that can do post and get request methods
3) create a server with polling mechanisms like epoll, kevents, select etc.
Great bro but We'll cover only Multithreaded web server in our upcoming video
amazing cli project
Running IRCTC....
something went wrong
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
sir , this warning is popping up after running the project , i searched for this on chatgpt and others but unable to fix this . Help if anyone can.
Make sure your project language version and in application java versions are correct. And if it is not an error and it is a warning then no need to fix it as of now. Try using correct java versions in intelliJ settings and restart the ide. People also asked this in comments earlier so you can go through if anyone faced the same and fixed
Hua fix tumara?
Just clarify one thing in App file in case 2 why you don't use loginUser method instead of that you created another another object which doesn't make any sense as in login we have to check whether that username and passowrd present or not
Please reply
Waise krlo bhai. It is upto you.
Just after my this project. I am going to build this project in t3 stack. Hope for best
Yo bruh
agar old user login karega to again ticketBooked(stored in db) empty array of jayega and userId bhi new create hogi? because we are creating user object again.
Yep. This project is just an introduction so that people can think and build further.
Thanks for the video
After writing code by myself and even after copy pasting your code it is showing Excpection catch(" There is something wrong") and program executes by showing this only . ? can you go through your Repository again ? or do something?
Where is the error. Use debugger to debug yourself
Code is running fine now. Pushed latest change. Only syntax issue i found.
Its executing with 0 task completed bro
@@pranjalvashisth9816 0 task completed what ? Did you check the latest link in the description for the code. it is compiling and running earlier one had some syntax issue
Bro which theme are you using in intelliJ ?
Material UI Dark
> Task: app: compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xint: deprecation for details:
Ask chatgpt u will be able to solve
solve hua kya bhai?
@@shreyashchavan9572 hmm
@@pandeyYash07 bhai bulid hoyga hai mera but Something went wrong aara hai error
any idea ?
any book suggetions for java fullstack or for microservices or spring boot ? i know spring mvc, core & adv. java (jsp, servlet, jdbc)
Design data intensive applications, Java 8 in action. Ye do i would recommend
@@SinghDevHub thanks 😀👍
I have one doubt like copilot is able to suggest good quality code , will it impact software dev ?
First of all bhai copilot is suggesting because I have already coded this service and it has the context of that. baaki copilot is still very dumb
bhaiiii appp suggestion keliye jese UserServiceUtil kyaa us extension ka name heee
Nahi bro suggestion copilot se aarhi hain jo i disabled in further vids
@@SinghDevHub ok bhai
It is showing a linkage error in the main app file.
What to do?
Bro google kro chatgpt se poocho yaar. Ye errors krlo figure out khudh se.
Bhaiya after running application it is showing Something is wrong i am unable to debug my error what should i do ?
Bro figure out yourself these small small issues
Bro most of the things are going over my head like streams, filters, maps, predicate and many more things what to do bro
You can read more about it and see other video and can come back bro
@@SinghDevHub and also I'm getting overwhelmed because of missing some topics will it be fine
@@dhanushsm929 yep it is perfectly fine, you will learn things with time
@@SinghDevHub ok bro thank you
I am not able to run this on my java21. Can you help me I can send you the files and project , it is not running on my laptop
Bro hit ctrl + ; and make settings to java21. And then hit ctrl + , and make settings to java 21.
@@SinghDevHub Bro I have done as u said in the video but still I am getting errors like gradle the created project is incompatible with gradle 9.0. I have googled and chatgpt from 3 days but still I am not able to make it work
@@yashpal5355 use ./gradlew clean build
@@SinghDevHub PID STATUS INFO
5672 IDLE 8.7
29756 STOPPED (stop command received)
6968 STOPPED (by user or operating system)
13956 STOPPED (by user or operating system)
19888 STOPPED (by user or operating system)
35704 STOPPED (by user or operating system)
9760 STOPPED (by user or operating system)
Im also facing the same issue
sir whenever i run the project it shows
Running Train Booking System
There is something wrong
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
I tried to debug but can't resolve , anyone please help if possible.
Bro set java version in project setting (ctrl+;) and change the jdk and all things there to your java version. It should work then. If not run ./gradlew clean and then run
@@SinghDevHub i tried the same but still not working , any post or web where i can get to understand this problem , if possible do tell 😓
@@aritrakar2492 restart the IDE, make sure lombok annotations are working and refresh the project. Delete .gradle and .idea and run ./gradlew clean build again
@@SinghDevHub I also faced the same problem, after putting hours to debug its working fine. @JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
@JsonIgnoreProperties(ignoreUnknown = true) this annotations needs to used in entities at class level. This works for me 👍
I'm also following the same issues tried everything it still doesnt work
is there anyone serious learner who wants to do peer learning on discord or something?
Yea sure
Yeah me
Yeah sure
Please share your telegram IDs guys
Sorry sir the thing is my project is successfully able to run and my user and login is working smoothly but my search train, fetched booking and select seats is give an error when I'm trying to use these options. I already tried my time to debug the problem but couldn't get the success 😔. But I already made the cancel booking function and it's working smoothly 😌. Just these 3 function giving me the problem and I'm trying to find the solution by reading the error but couldn't understand what it's mean ☹
It's fine bro. This project was meant to be like this to debug and learn 🙏
Bhai kaise ho,
I hope ab theek hounge tuci.
Bhai yr mujhe ye ni smj aa paa rha structure ki kaunse file me kaunsa function hona chaiye **bookTrainSeat** banaiye hai humne **UserBookingService ** me kyu banai **trainService** me kyu nahi banai ?
Bro it is subjective aap kahin bhi bnao bas sense bnana chiye
Co pilot ka kya scene hai vo kaise on kare?
I removed it in my other videos. It is paid
Bhaiya in last video everything is working perfectly as just I'm using VSCode I dk why dependencies (com.fasterxml.jackson.databind.ObjectMapper) are not getting auto downloaded and also I tried to download from terminal using command gradle build but still that dependencies error I'm facing of.Please do help so I can proceed with this video and further enjoy the learning.
Can you switch to intellij community version it is free and gives java env
Bcuz as I too have Eclipse installed so this many code editor would be really confusing and also I has never tried Intellij so any solution for VSCode is high appreciated or else at worst case I'll have to shift to Intellij@@SinghDevHub
Control ke sath kya dabane bolte ho?
Control + click or cmd + click
Bhaiya i am in 3rd year can I add this project in my resume is this will help me to get internship? I have a very good command in DSA
No project will help you to get anything bruh. If you will put your efforts and add features only then it will
no music dear
🥱
@@SinghDevHub areey bro 😁😁😁
bhai error -A JNI error has occurred, please check your installation and try again
bhai pls help me
Bro ask chatgpt. Google kro and all. Ye sab khud se kra kro solve
No bullshit great content
Bhai course not very powerful
......Aap apni convenience se sab kar rhe ho....Bhai beginners ki bhi to socho
Not targeting beginners and people who want everything to be spoon fed
C:\Users\Dell\Desktop\IRCTC\app\src\main\java\ticket\booking\App.java:79: error: constructor UserBookingService in class UserBookingService cannot be applied to given types;
userBookingService = new UserBookingService(userToLogin);
^
required: no arguments
found: User
reason: actual and formal argument lists differ in length
bhaiii ye error ahhh raha hai or snakecase file
Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('/' (code 47)): maybe a (non-standard) comment? (not recognized as one since Feature 'ALLOW_COMMENTS' not enabled for parser)
Can you put debug point there and check if userToLogin is of correct type