212,180
questions
0
votes
0
answers
14
views
How to send an email if the same data is inserted into PostgreSQL for 1 hour continuously?
I'm developing a backend application using Spring Boot, and my application uses PostgreSQL as the database. Sensor data is being inserted into the database every second.
I want to monitor the data and ...
0
votes
0
answers
16
views
Spring Framework componentscan cannot resolve package
A rather strange mistake. In IJ, the string "@ComponentScan("ru.kasatchikov.test")" is highlighted in red in the Spring Config file with the inscription "componentscan cannot ...
1
vote
1
answer
21
views
Referring external classpath resource files for running executable jar in java [duplicate]
I am running java application in docker container as executable jar. For example
$ java -jar MyApp.jar
This application refers the application resource files from class path. Since application ...
0
votes
0
answers
14
views
Spring batching not allowing large document: "Tokens in a single document exceeds the maximum number of allowed input tokens"
I have a bunch of documents that I would like to embed as vectors and store in my postgres db. Some of these documents are very long, so I am using Spring's BatchingStrategy to split them up. I am ...
-3
votes
0
answers
25
views
Running JavaFX interface on spring project [closed]
So I have this spring gradle project. Tried to use JavaFX to create interface and now when I start the application Im getting this error:
Error: JavaFX runtime components are missing, and are required ...
0
votes
0
answers
7
views
How to upgrade Cassandra 3.11.3 to 4.0.0?
I am supposed to upgrade my Cassandra version to 4.0.0 but whenever I am doing so I am getting the many issues like these:
error: error: cannot access TypeCodec,
error: cannot find symbol
And it is ...
1
vote
1
answer
33
views
Transactions on IBM I (AS400) and Spring Boot 3
The transaction rollback is not working for me, I am working on an IBM I (AS400), and among the tests I am doing, the rollback has not worked for me, I am generating an intentional error by ...
0
votes
1
answer
18
views
grails 6.2 and spring framework 6
I am working with a grails application (6.2.0) that is currently configured to use Spring Framework 5.3.39. I would like to upgrade to 6.1.14. Has anyone done this successfully? (or upgraded to any ...
1
vote
0
answers
42
views
java.lang.NullPointerException: Cannot invoke "javax.persistence.EntityManager.createQuery(String)" because "this.entity" is null?
[Unable to correctly inject/initialize EntityManger in spring]
I want to GET some records from database after hitting get from frontend in spring but because of entity being null unable to do so.
...
1
vote
0
answers
26
views
How to resolve IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED')
I have a Spring project where I need to connect to IBM MQ to send and receive messages from but I'm getting the below exception:-
IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035'
('...
0
votes
1
answer
19
views
Springdoc with Boot 3, no explicit OpenAPI bean declaration
I have trouble creating Swagger/Open API endpoints for my app. There was a previous app where such an endpoint was created automatically. I want to avoid explicitly declaring an OpenAPI bean. My ...
0
votes
0
answers
13
views
maven-javadoc-plugin does not work correctly in conjunction with hibernate-jpa-modelgen
I am faced with the problem that I am getting an error:
Exit code: 1
C:\Users*\Desktop***\target\delombok\ru**\service\impl*.java:15: error: cannot find symbol
import ru...entity.Balance_;
^
symbol: ...
0
votes
0
answers
15
views
SQL command not properly ended when using Page in Spring
I'm trying to use findAll method to get Data by Page in spring, but i'm getting below query error, i' using Spring 3.3.5 and Oracle 11g
Page<StepsData> dataPage = dataRepository.findAll(...
1
vote
0
answers
11
views
How to Use Pessimistic Locking with a Versioned Entity in JPA Without Conflicts
I have a usecase where a there is a pool_account table which track merchant balance, and any credit for merchant balance is incremented and a audit table entry is created for amount, opening balance, ...
0
votes
1
answer
13
views
How to Design a User Registration Process Across Multiple Tables (Member and Auth) While Adhering to SOLID Principles?
I am currently developing a registration process using JWT for authentication. In my application, I have two tables: Member (which stores user personal information, owned items, etc.) and Auth (which ...