Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 9 months ago. Improve this question WebD…
Tag: java
SessionFactory addAnnotatedClass method not found
I am following a spring course covering hibernate and I think I’m missing something in my pom.xml. Java cannot find the addAnnotatedClass method. The class I’m watching isn’t using maven and I didn’t want to download all of the jars manually. The documentation has the method here that …
Hibernate search with lucene does not index similar names correctly
I’m learning Hibernate Search 6.1.3.Final with Lucene 8.11.1 as backend and Spring Boot 2.6.6. I’m trying to create a search for product names, barcodes and manufacturers. Currently, I’m doing an integration test to see what happens when a couple of products have similar name: As you can see…
How would I give immediate feedback in a JSP?
I have a JSP form, that (when the user clicks the “submit” button) instantiates a Java class, and calls a method on it. This method then submits a request (in a proprietary format) to a server running on an entirely different box. That back-end server then either sends the submitting user an email…
If someone’s code says java version 1.8 in pom, does that mean that it is JDK 8?
I am looking at someone else’s code and the pom.xml says java version 1.8. I need to know the version of the JDK. I know they can be the same, but some sites say they are different? Sorry for the newb question and thanks I tried googling this and couldn’t find an answer EDIT: To be clear I know ja…
How do I display child of child’s data from firebase in my RecyclerView?
I want to show data of all children inside all the Categories from the database (added the image below of what my database looks). I am adding data to my RecyclerView using the adapter which needs FirebaseRecyclerOptions object to be passed. I saw one answer where DataSnapshot was used to get child of child d…
IntelliJ IDEA java directory paths problem
I have a problem with paths. I’ve got a test project like this below and I want to create a JSON reader in Main so I need a test_json path. I don’t wanna use an absolute path D:…, but a path “from project” (I mean smth like main://resources/json_test/test_json.json). Is there any…
Why do I get 404 Not Found in Spring Boot
My Spring Boot application sends data through REST API. I connects to many Google Cloud components: google pubsub, mqtt server and google SQL. Since I implemented PUBSUB and MQTT, whenever I send a request from Postman I receive My pom.xml configuration looks like this I also found that request is being serve…
How can I connect a Python websocket client to my Spring endpoint?
I’m new to Python and I’m trying to connect to a service that I currently have up running in Spring. On the server-side I have a custom Handshake handler in place by extending DefaultHandshakeHandler and overriding the determineUser method, where I then extract the user information. However, when …
How to add a letter the end of each word per its word index? [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 11 months ago. Improve this question I have a problem about adding a letter the end of each word per its word index. I cannot h…