Maxxx005
JCHJava Community | Help. Code. Learn.
•Created by Danix on 1/18/2025 in #java-help
Jwt Auth Issue
Try storing in local storage or cookie/session.
19 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
Also big thank you to @dan1st | Daniel , @ayylmao123xdd , @Tomasm21 and @FirasRG for replying and helping my problem get solved. Really means a lot. A big Thank you!!!
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
ok so done and dusted!!!! the problem was the jwt was not getting removed from local storage. so i removed it and the problem with the db was "sql_require_primary_key" this term in aiven doesn't allow a table without a primary key to be made.so that is why it was giving me such errors i disabled that button and deleted the jwt from local storage and my problem got solved.
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
authcontroller
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
Nope i don't think so, yesterday I Saw a thread with 312 messages
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
When I singup or signin
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
yes
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
appconfig
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
now i am facing another issue after adding auto increment,that when i open the domain it is directly requesting for profile and hitting the /home url which is supposed to hit after the login/signup. also token is which i said was generating is getting generated everytime when i open the domain with the same credentials i entered previously.
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
Ohk applying the changes
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
Also @dan1st | Daniel sir do i also need to make twit's and like's id's column auto increment na?
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
i am trying this for now, if nothing happens that is the last option left for me or will switch to flyaway as suggested by daniel sir.
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
It is but then i will have to make lot of changes in many files. like change dtos,entity,service,util classes so that is why i didn't go that way.
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
yes sir creating new table.
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
yes understood but what change do i need to make?
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
there is no such class, i am making that table from relations.
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
means?
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
2025-01-20T17:37:31.900Z ERROR 1 --- [Connect] [nio-8080-exec-3] o.h.engine.jdbc.spi.SqlExceptionHelper : Table 'defaultdb.user_followers' doesn't exist
2025-01-20T17:37:31.938Z ERROR 1 --- [Connect] [nio-8080-exec-3] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.hibernate.exception.SQLGrammarException: JDBC exception executing SQL [select f1_0.user_id,f1_1.id,f1_1.background_image,f1_1.bio,f1_1.birth_date,f1_1.email,f1_1.full_name,f1_1.image,f1_1.location,f1_1.login_with_google,f1_1.mobile,f1_1.password,f1_1.req_user,f1_1.end_at,f1_1.plan_type,f1_1.started_at,f1_1.status,f1_1.website from user_followers f1_0 join user f1_1 on f1_1.id=f1_0.followers_id where f1_0.user_id=?] [Table 'defaultdb.user_followers' doesn't exist] [n/a]] with root cause
java.sql.SQLSyntaxErrorException: Table 'defaultdb.user_followers' doesn't exist
271 replies
JCHJava Community | Help. Code. Learn.
•Created by Maxxx005 on 1/16/2025 in #java-help
production vs development
ok so some positive news!!!! that token is being generated and data is getting inserted in db but user_follower(the extra table which was created through mapping) is not getting created and likewise all the other extra tables will also throw the same errors ig.
271 replies