Skip to main content

All Questions

Tagged with
1 vote
1 answer
109 views

maven clean install and mvn spring-boot:run gives me on POST request 401 (Unauthorized) error

When I run my java spring boot project with "mvn clean package" and "mvn spring-boot:run" I get a POST http://localhost:8080/api/v1/register 401 (Unauthorized) error. While I am ...
Egon's user avatar
  • 498
0 votes
0 answers
40 views

Exception caught for getStockCount Parameter number 2 is not an OUT parameter

I am getting error while calling procedure from Spring application ERROR | 2024-02-28 12:43:23 | [http-/127.0.0.1:8881-1] impl.ProductDAOImpl (ProductDAOImpl.java:702) - Exception caught for ...
Zohaib Asim's user avatar
1 vote
0 answers
239 views

Configuration property not recognized

I am trying to define two data sources for my spring app because I want to alternate between them. Firstly I am defining the datasources in application.properties like so # First DataSource spring....
user avatar
0 votes
1 answer
62 views

ERROR: Parameter number 1 is not an OUT parameter while trying to login with credentials

I am trying to login to the application I gave the right credentials in Sql database but it is showing "No such account exists, Please insert valid credentials". The login table in sql have ...
Turaga Harini's user avatar
0 votes
1 answer
124 views

Insert datetime into mysql java spring mvc

I save the column gioBatDau in MySQL as datetime, in POJO as @Column(name = "GioBatDau") @Temporal(TemporalType.TIMESTAMP) @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss") ...
Nguyen Duc Hung's user avatar
0 votes
1 answer
71 views

Repository extends JpaRepository<Entity, Id>, JpaSpecificationExecutor<Entity>; EntitySpec extends Specification<Entity>

This is my endpoint http://localhost:8080/country/all response all country ok when I want filter them return not found Countries is empty and return exception throw new RecordNotFoundException("...
Michele Genchi's user avatar
0 votes
1 answer
374 views

Table is not creating in MySQL in SPRING BOOT

I have created a spring boot project in eclipse. Every setup was fine but the annotation I used in POJO class is not creating table in database. And the 'index.jsp' also not working when ran this ...
Shriram's user avatar
0 votes
1 answer
304 views

Spring: Field in --- required a bean of type

Hello everyone and indeed I have the following problem. I am trying to connect to a GoDaddy DB with my Spring Boot application. Here I encounter the following problem: Field driverService in com....
Daniel Ortlieb's user avatar
0 votes
0 answers
421 views

How do I convert InMemoryUserDetailsManager to use a MySQL database

I have found many answers to this question using an embedded database, but I cannot find a solution to converting InMemoryUserDetailsManager to specifically a MySQL database. Does anyone know how to ...
blueweimer's user avatar
0 votes
0 answers
62 views

Database table not created in MySQL using Spring MVC, Hibernate and Tomcat 10.1.17

I am having trouble creating a database table in MySQL using Spring MVC and Tomcat 10.1.71. I have defined the table in my code and expected it to be automatically created when I run my application, ...
Osman Goni's user avatar
0 votes
1 answer
129 views

unable to connect to remote MYSQL DB using Spring MVC, c3p0

I have a spring mvc project and connecting to Maria DB 10.11.0-MariaDB. I am able to connect to remote DB using mysql workbench, But not using spring mvc and c3p0. I am sure about the user name ,...
Nataraj's user avatar
  • 93
0 votes
1 answer
107 views

Spring Security SQLException

I have attached spring security to my learning project. I decided to follow this tutorial: But when when i am trying to log in, i get java.sql.SQLException: Parameter index out of range (1 > ...
had0uken's user avatar
  • 103
0 votes
2 answers
49 views

Trying to fetch results from mySQL database and display it in a jsp file

using a MVC model to try and fetch from a mySQL db. The code tries to query db and put the results into and array to pass it to the controller. The jsp page can then call it. At the moment, I am not ...
Jay's user avatar
  • 35
0 votes
0 answers
132 views

How to submit Nepali date in MySQL DB using Spring MVC?

I’m working on a project with Spring MVC (Java) and MySQL database. When I submit Nepali date from page, e.g., 31-04-2079 from Nepali calender .., it automatically converts to 01-05-2079 and saves in ...
amit nihal's user avatar
0 votes
1 answer
113 views

How to do login with Spring MVC & Hibernate?

I am creating a simple login & registration project with spring mvc & hibernate but not known how to read data from data base with hibernate & mySQL for login process only, could anyone ...
Ramzan's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
32