how to call my application that is running on a server?
dev.burokelis.lt
, and i have java spring app deployed on it. its running fine, but i dont understand how to call its endpoints. when i was developing on my computer, in postman i used localhost:8080/createPaymentInformation
, now whem im trying to call my app thats on a server, i do dev.burokelis.lt:22/createPaymentInformation
, but nothing happens in postman. can smb help me out?chrome driver
How to make spring boot @Value fields inject the values from properties?
Drawing SVG paths in javafx css
Exception Handling in Spring
RequestParam / User Not Found
http://localhost:8080/[email protected]
( which works perfectly if I write this in my browser bar ) but when I want to access to my profile it return me a USer nto found, because Spring boot sees it as null...Suggest kotlin/java backend framework
Why/how is displayMap null
Issue with multimodule project
Failed to publish publication 'maven' to repository 'mavenCentral' Invalid publication 'maven': multiple artifacts with the identical extension and classifier ('jar', 'javadoc')....
Render dynamic dayas / Status 400
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Wed Jul 24 16:43:43 CEST 2024
There was an unexpected error (type=Bad Request, status=400).
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Wed Jul 24 16:43:43 CEST 2024
There was an unexpected error (type=Bad Request, status=400).
best way to insert JSON object into DB table?
how to check if record exists in DB table?
@Query(value = "select count(1) from my_tablewhere transaction_id= :transactionId",nativeQuery = true)
boolean existsByTransactionId(@Param("transactionId") String transactionId);
@Query(value = "select count(1) from my_tablewhere transaction_id= :transactionId",nativeQuery = true)
boolean existsByTransactionId(@Param("transactionId") String transactionId);
service deletes DB records, but i still get `No results were returned by the query`
apache Mina sshd
How do I use UserDetailsService properly? Where do I define it exactly?
Spring app doesn't read environmental variables from .env
RestApi Access Problem
Spring Boot Security / Request = 500
why use Optional<MyClass> if you cant call any methods that MyClass has?
Optional<Payment> earlierPayment=paymentRepository.findByTransactionIdAndAmount(paymentConfirmationRequest.getTransactionId(), paymentConfirmationRequest.getAmount());
.
and for some reason i cant call any getters that my Payment
entity has. does it mean that id need to change the return type of findByTransactionIdAndAmount
from Optional<Payment>
to just Payment
? and then id loose the advantage Optional
gives me. that doesnt make any sense 😦
any help? thanks...