Can anyone please send the code?

|
pink_power_ranger 2022-07-24 17:23:47
how to cook omelet
pink_power_ranger 2022-07-24 17:23:52
without eggs
Backhere 2022-07-24 17:29:25
Nivi 2022-07-24 17:21:57
I need a project on transport availability checking system. Anybody here can do it completely?

paid??

Hey_vs 2022-07-24 17:30:12
Nivi 2022-07-24 17:21:57
I need a project on transport availability checking system. Anybody here can do it completely?

Its literally like a red bus app ur asking…

Hey_vs 2022-07-24 17:30:33
Nivi 2022-07-24 17:21:57
I need a project on transport availability checking system. Anybody here can do it completely?

Did u check on GitHub for open projects ..

Nivi 2022-07-24 17:41:27
Hey_vs 2022-07-24 17:30:12
Its literally like a red bus app ur asking…

Yessss you are right

Lavanya 2022-07-24 17:58:53
Hi All, we are working heavily on drools and Kafka. I want to learn and experiment drools using Excel I’m unable to install the plugin in intelliJ CE. Can anyone suggest on this
vshapequest 2022-07-24 17:59:52
Lavanya 2022-07-24 17:58:53
Hi All, we are working heavily on drools and Kafka. I want to learn and experiment drools using Excel I’m unable to install the plugin in intelliJ CE. Can anyone suggest on this

what is it showing

Lavanya 2022-07-24 18:00:59
I don’t see the plugin in marketplace
Debiprasad Dash 2022-07-24 18:01:28
Lavanya 2022-07-24 18:00:59
I don’t see the plugin in marketplace

Which plugin

Lavanya 2022-07-24 18:09:11
JBoss drools
Debiprasad Dash 2022-07-24 19:12:41
I am new to spring data jpa
I want to use own sequence for I’d in entity class
Can anyone please send the code? How to create sequence and use it in spring data Jpa
pravdograd 2022-07-24 19:17:14
springbootmicroservices-69574.jpg

pravdograd 2022-07-24 19:17:47
Guys, is this fine? Should i just change settings or i better to fix code?
Debiprasad Dash 2022-07-24 19:18:17
pravdograd 2022-07-24 19:17:47
Guys, is this fine? Should i just change settings or i better to fix code?

Fix the. Code

pravdograd 2022-07-24 19:19:34
Can you help me to check the problem if i show you my code, brother?
Debiprasad Dash 2022-07-24 19:20:49
pravdograd 2022-07-24 19:19:34
Can you help me to check the problem if i show you my code, brother?

I am a beginner
Send ur code here if anyone know he will help you

If I can I will

pravdograd 2022-07-24 19:22:54
I understood where problem starts, but i don’t know how to deal with it. In security config i made a Bean of PasswordEncoder, then i autowired this bean in userService to encode password to hash in registration process
pravdograd 2022-07-24 19:23:47
and now it tells me this. In fact it says that i can not use service bean in config and use bean from config in service
pravdograd 2022-07-24 19:24:02
@Bean
public PasswordEncoder passwordEncoder(){
return new BCryptPasswordEncoder();
}
}
pravdograd 2022-07-24 19:24:10
here is part from config
pravdograd 2022-07-24 19:24:58
@Autowired
private PasswordEncoder passwordEncoder;

public User userRegistration(User user){
if(usersRepository.findUserByEmail(user.getEmail())==null){
Role userRole = rolesRepository.findByRole(“user_role”);
List<Role> roles = new ArrayList<>();
roles.add(userRole);
user.setRoles(roles);
user.setPassword(passwordEncoder.encode(user.getPassword()));
return usersRepository.save(user);
}
return null;
}

pravdograd 2022-07-24 19:25:15
and from service
S!D 2022-07-24 19:36:48
Debiprasad Dash 2022-07-24 19:12:41
I am new to spring data jpa
I want to use own sequence for I’d in entity class
Can anyone please send the code? How to create sequence and use it in spring data Jpa

@GeneratedValue(strategy = GenerationType.IDENTITY)

S!D 2022-07-24 19:36:55
Use this property n let know
pravdograd 2022-07-24 19:41:30
pravdograd 2022-07-24 19:24:58
@Autowired
private PasswordEncoder passwordEncoder;

public User userRegistration(User user){
if(usersRepository.findUserByEmail(user.getEmail())==null){
Role userRole = rolesRepository.findByRole(“user_role”);
List<Role> roles = new ArrayList<>();
roles.add(userRole);
user.setRoles(roles);
user.setPassword(passwordEncoder.encode(user.getPassword()));
return usersRepository.save(user);
}
return null;
}

that is solved. I just made bean of userService in config

walterwhite_brkngbad 2022-07-24 20:01:21
springbootmicroservices-69590.jpg

walterwhite_brkngbad 2022-07-24 20:01:21
It’s giving array out of bound exception
walterwhite_brkngbad 2022-07-24 20:01:51
I’m new to Java, can someone help
Rounak Upadhyay 2022-07-24 21:35:15
When to use @GetMapping ?? Can anyone explain please.
|