Questions tagged [boot]

The boot phase broadly refers to the set of operations that a computer system performs between power-on and access to a graphical/textual shell. Do NOT use this tag for Spring Boot or Twitter Bootstrap. Use [spring-boot] and [twitter-bootstrap] instead.

boot
Filter by
Sorted by
Tagged with
0 votes
1 answer
506 views

Spring Boot Security - Encoded password does not look like BCrypt/Ecommence Method Failed

I'm new in Java/Spring boot and I'm doing a login with jwt. What happens is that I got well to the part of creating users, the issue is that when I want to log in postman I get "401 bad ...
Tsu's user avatar
  • 1
2 votes
0 answers
227 views

When I request a request, it returns 401 unauthorized for each request in the security section

I am making a project for Register and Login operations. I am using spring security and jwt. It always returns 401 unauthorized to any request I throw in Postman. I couldn't find the reason. Could you ...
canguness's user avatar
-1 votes
1 answer
4k views

Can't ssh into Raspberry pi running raspberry pi os 64 bit lite [closed]

TLDR - Raspberry pi 3 B, can't use ssh, I have tried many solutions listed below and more, any suggestions? hostname -I command returns a blank line I cant use ssh, I have tried everything, sudo raspi-...
elloiguess's user avatar
0 votes
1 answer
199 views

Logging file is empty

In my pet spring boot app I got logging properties like: logging.file.name=Y:/Logs/app.log logging.level.com.example.demo=debug logging.level.org.springframework=info logging.pattern.console= %d{yyyy-...
Gosha Efimenko's user avatar
0 votes
1 answer
56 views

what I want is when I press the initial letter of each name to show me the name with its initial letter

I make a simple database of names. There are a couple of names:(for example) Alexander , Anthony , Amelia , Asher and Matin. And I want to get all names that contains letter "a" but only ...
Vasileios Maziotis's user avatar
0 votes
0 answers
344 views

Getting null value of Name Propperty and Saving to Mysql using Spring JPA CrudRepository

I am facing issue regarding getting null value of Name Property and Saving to Mysql using Spring bootJPA using interface CrudRepository. It saved all data to mysql db for all other fields but saving ...
Faisal's user avatar
  • 23
1 vote
1 answer
116 views

The bootstrapping method with timeseries

I got this error message about my code: Error in statistic(data, original, ...) : unused argument (original) I need to run a bootstrap method to estimate pvalue in a periodogram. My timeseries was ...
Jefferson Santos's user avatar
2 votes
1 answer
3k views

How to update intel HAXM in android studio?

I am trying to update intel HAXM x86 in my android studio because my emulator is running slow and stuck on booting screen (Google logo screen) and I think the version of HAXM is causing the problem, I ...
ram shinde's user avatar
0 votes
1 answer
427 views

Querydsl search with MongoDB and DocumentReferenced (inner) collection and web support

In my way to explore Spring Data and MongoDB, I had the request to query a collection with its own fields. Querydsl is the best choice for what I've seen. I have theese collections @Data @Builder @...
Mario Biagioni's user avatar
0 votes
0 answers
3k views

Can't instantiate factories after updating to Springboot 3 and SpringFramework 6

Everything compiles, but I'm getting an error with the spring framework cloud configuration. The errors are all within the compiled dependencies, so I'm not sure what I am missing here. Any ideas? I'm ...
sligglerwiggler's user avatar
1 vote
0 answers
120 views

How can I convert a Web Application with multiple servlet contexts to Spring Boot using embedded Tomcat?

I need to convert an old web application containing multiple tomcat contexts into a Spring Boot application that utilizes Embedded Tomcat. The following is the server.xml file defining the contexts: ...
Federico Favaro's user avatar
1 vote
0 answers
217 views

Problems trying to work around WebSecurityConfigurerAdapter deprecation using Spring Boot 2.7.5

When updating spring boot version 2.7.5 I noticed that the WebSecurityConfigurerAdapter class was deprecated in this version. I followed the steps as described in section 2.2 on article on Baeldung to ...
George Alves's user avatar
0 votes
0 answers
85 views

Calling kexec_load from kernel code to reload the same kernel itself once

kexec_load is used to load another kernel from the current running kernel without reboot. So my question is: How can I use it to load the current kernel again, from the current running kernel (aka it ...
raspiduino's user avatar
0 votes
1 answer
2k views

where is the property 'ro.boot.verifiedbootstate' being set in Android Open Source Project?

the command "adb shell getprop ro.boot.verifiedbootstate" is returning nothing I need to know where this property is being set in the Android Open Source Project in order to correct that. &...
AmenAllah HAMDI's user avatar
0 votes
1 answer
944 views

When you plug in a HDMI after booting of a Raspberry Pi 4, you get the display but not the audio

When HDMI cable is pluggwd in at the boot time, the Rasp Pi 4 display comes up normally and audio plays. (One can check by right clicking on the audio icon on the menu bar, to see the device profile ...
MAT's user avatar
  • 11
0 votes
2 answers
272 views

Raspberry pi with auto start

Can anyone point me in the right direction please? My C and Python skills are limited, but I have set up a R-pi3b to run a python program at boot and it is fine. I have also added a script to shut it ...
dangerous2A's user avatar
0 votes
1 answer
57 views

String boot getVideo always returns NullPointerException

Good Morning. Can someone help me please? I followed this tutorial https://www.knowledgefactory.net/2021/09/spring-boot-webflux-video-streaming.html to create a video streaming app. Inside the ...
dbarasuk's user avatar
1 vote
1 answer
1k views

UEFI Runtime Services: Role and Function Within an OS

I would like to understand how the UEFI Runtime Services function within the OS. I would also like to understand, how essential are those service for the proper functioning of an OS. I am aware that ...
zee_ro's user avatar
  • 13
-2 votes
1 answer
227 views

Can i upload more than 1GB video in spring boot

Good morning. Which config do i need to put in place in application.properties file in order to be able to upload into database a video which sometimes can be larger than 1GB using spring boot? Thanks ...
dbarasuk's user avatar
0 votes
1 answer
80 views

Heroku R10 Error while running Spring Boot App

I got R10 Error when running Spring boot application in heroku. I tried most of the proposals in Stack Overflow, but they didn't work for me. Please help me.. My Procfile web: java $JAVA_OPTS -jar -...
Hyunjun Yang's user avatar
1 vote
0 answers
432 views

Hibernate does not persist and save object

I have a question for all the springboot and hibernate legends.. We have an object that we would like to save, so we use a persist statement. However somehow it doesn't really save the object in the ...
matthijs's user avatar
0 votes
0 answers
484 views

MY SQL SYNTAX ERROR HOW TO FIX IN SPRING BOOT

Getting ERROR: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near emp....
kavitha G's user avatar
0 votes
0 answers
121 views

java.lang.ClassNotFoundException: antlr.RecognitionException

I don't know why the error below occurs. It is running normally on another computer with Spring boot application. When I run it on a new computer, it boots normally, but when I call the api, the ...
James's user avatar
  • 9
-2 votes
1 answer
70 views

Spring Boot issue in join table query in my repository code

Getting unsatisfied dependency error while using @Query in Spring Boot In my repository I have added query to join tables but getting error at runtime ERROR: org.springframework.beans.factory....
kavitha G's user avatar
1 vote
0 answers
30 views

How can i start start the main activity(foregorundservice) at boot time?

I want the service to start automatically when the phone boots up. But it doesn't run. I also created a foreground service so that the main activity can run in the background. public void onReceive(...
Study's user avatar
  • 11
0 votes
0 answers
41 views

Spring Boot Service Testing

I have a problem with testing my application. I want to test this method: public Optional<UserDto> getUser(String username) { Optional<User> userOptional = this.userRepository....
dave25's user avatar
  • 171
-1 votes
1 answer
761 views

Spring Boot Autowired is throwing NullPointerException in Main() when using field [duplicate]

Note: I'm updating this since I've found a solution. This question is similar to Why is my Spring @Autowired field null?, but I'm using the main() method here. The solution is to mark Foo with @...
Rosk Kruni's user avatar
0 votes
1 answer
484 views

Native Query in spring boot JPA

I'm using spring boot 2.6 and spring boot JPA version 2.6.4. I was interested in pull last five records from mysql table by using next query @Query(value="SELECT * FROM produit p ORDER BY p.id ...
dbarasuk's user avatar
0 votes
1 answer
1k views

STM32 Boot pin functions

I have a question about the BOOT pin performance of the STM32G031. In the datasheet says that upon reset, the boot pin (PA13) is established at the beginning as the picture shows. I wanna know if it ...
CRUZ GONZÁLEZ EDSON's user avatar
1 vote
1 answer
3k views

No primary or single unique constructor found for class - spring boot

I got this error when using Spring 2.7.4: No primary or unique constructor found for class com.library.project.library_el_aleph.model.Client I have two constructors for two possible inserts in my POJO ...
Toms_Hd3z's user avatar
  • 159
0 votes
1 answer
228 views

Caused by: java.lang.AbstractMethodError Method...MongockTemplate.updateMulti is abstract

I am using mongock, all migration correctly pass, bun when invoke mongoTemplate.updateMulti then throw an Caused by: java.lang.AbstractMethodError: Method com/github/cloudyrock/mongock/driver/mongodb/...
Шатов Данил's user avatar
2 votes
1 answer
340 views

Detecting that android has booted up over adb

I'm trying to detect the successful bootup of an emulated android OS (Google's Android Emulator, sys version 12.0, running on Linux inside Docker) over adb in order to install an app right after boot. ...
Dex's user avatar
  • 164
0 votes
0 answers
270 views

how to override default value 3 of annotation RetryableTopic in spring kafka

I have a requirement where i want to retry infinite times(why infinite times because i am calling 3rd party API from a consumer and that API can give the status as pending and as per 3rd party they ...
Ankur Goel's user avatar
1 vote
0 answers
70 views

java.lang.NoSuchMethodError: '.authentication.UsernamePasswordAuthenticationToken .unauthenticated(java.lang.Object, java.lang.Object)'

I am trying to login in spring boot MVC web application. but I am getting the below error. java.lang.NoSuchMethodError: 'org.springframework.security.authentication.UsernamePasswordAuthenticationToken ...
Ankush's user avatar
  • 121
0 votes
0 answers
210 views

file upload functionality fails on production server

I am using Spring Boot on Windows development environment with Java 1.8 open JDK 8. File uploading functionality works fine on development environment. But, it does not work on production environment ...
Sameer's user avatar
  • 1
0 votes
1 answer
2k views

Azure VM won't boot - Error is 'Fatal error C0000034 applying update operation 63 of 82641'

VM is set to start every morning at 8am. This morning I got the following error : - 'Fatal error C0000034 applying update operation 63 of 82641' in the Boot Diagnostics section in the VM Console Every ...
Dan's user avatar
  • 21
0 votes
0 answers
53 views

Spring : Returning to index page after submitting the details

I was trying to work on spring boot. I created and a form and after submitting it , i have to return to index page. But i am getting error: ****Whitelabel Error Page This application has no explicit ...
Rohit Nagar's user avatar
0 votes
0 answers
28 views

What is the problem here , i am learning spring boot

@PostMapping("/addStudent") String addStudent(@ModelAttribute ("student")Students student, Model model) { model.addAttribute("fname", fname); model.addAttribute(...
Rohit Nagar's user avatar
0 votes
1 answer
21 views

show container while passing attribute from spring boot

How can I solve this? <div th:if="${showContent}=='true'" id="container-two" > <div class="container-linux"> &...
HARSH GAUR's user avatar
-1 votes
1 answer
506 views

remove json object spcefic value in the response

enter image description here please guide me how to do this type of implementation in spring boot project , given image data in json format response .
Ram Ram's user avatar
0 votes
1 answer
148 views

Spring boot disable user

Good morning. Question scenario is as follows. Suppose an employee with a role goes to annual leave and he has an account in a spring boot application. How can I disable his user account so that ...
dbarasuk's user avatar
-1 votes
2 answers
85 views

remove json object specfic values

JSON representation fruit: { "type": "sweet", "value": "Apple" } I want to perform concise representations like this. fruit: "Apple"
vivek kumar's user avatar
0 votes
1 answer
396 views

How many users can be logged in spring boot?

I have a spring boot application, I'm not really sure how users and threads work The number of users depends on the application itself or tomcat? Can I have more than 100,000 users at the same time in ...
DavVR's user avatar
  • 19
0 votes
1 answer
431 views

GraphQL Extend method method from generic java class

I re-write from Spring boot Rest API to GraphQL I have Rest Controller generic, common for all controller public class GenericController<E, P extends Serializable>{ @Autowired private ...
Tùng Huynh's user avatar
1 vote
1 answer
273 views

I have some questions about `int 13h`

I have read that int 13h provides functionalities to disks and floppy... I have written this code: _start: mov cl, 2;sector call printSector ;write mov ah, 3 mov al, 1 ;...
Rabyt's user avatar
  • 59
2 votes
1 answer
597 views

Random Boot Animation Script (Steam Deck)

I've hacked this together with random code from stack exchange I would love someone who can actually script to look it over and let me know what else I need to do to it. the goals of this script, to ...
Static's user avatar
  • 23
-1 votes
1 answer
1k views

Spring Boot JPA Query with Multiple column Condition and IN clause with combination of two columns

I have a Employee class and DB Table- Employee(Empid,Empname,EmpSalary,EmpJoiningDate) Another class EmpData(Empid,EmpJoiningDate) I have list , List<EmpData> empdata = new ArrayList(); Need ...
JMN's user avatar
  • 1
-1 votes
1 answer
200 views

Can anyone suggest how to validate (coming from realiable source,not expired) JWT token coming in header in spring webflux

Can anyone suggest how to validate (coming from realiable source,not expired) JWT token coming in header in spring boot webflux.
art's user avatar
  • 1
1 vote
0 answers
989 views

': No such file or directory.common

I'm trying to execute a simple script at boot time in OpenWrt. For first, I created a file my_script in /etc/init.d: #!/bin/sh /etc/rc.common # Example script # Copyright (C) 2007 OpenWrt.org START=...
RDP1998's user avatar
  • 67
0 votes
1 answer
1k views

My rest services relies on an external service. How do I mock it to use on my cucumber tests?

I made some cucumber tests (given, when, then integration tests) in spring boot maven, and I was able to test my endpoints using TestRestTemplate, but only if the external service is running. The ...
askwer's user avatar
  • 215

1 2 3
4
5
33