Гость » 09 мар 2024, 13:29
Последнее сообщение Гость «
Гость »
When I tried to run a java program in eclipse editor. Result is not getting printed in console. instead a blank space is coming. In the console I am able to type numbers.Why it is allowing me to type no: in console space even though I have not used...
Гость » 09 мар 2024, 13:28
Последнее сообщение Гость «
Гость »
I'm working on a project with multiple microservices registered with a Eureka Discovery Server. I've set up a Spring Cloud Gateway as an Eureka client and configured the routes accordingly. However, my requests through the Gateway result in 404...
Гость » 09 мар 2024, 13:09
Последнее сообщение Гость «
Гость »
long time= (getTime()/60000L) * 60000L
The getTime() will return unix time in millis. I am exploiting division with longs to write off seconds and millis. The result must also be in unix time format (resolution upto millis)
Гость » 09 мар 2024, 13:09
Последнее сообщение Гость «
Гость »
I have successfully implemented JWT-authentication for my Rest-API in Java Spring Boot. Only with a valid JWT-token users can make requests to my secured endpoints. But I need to find a way so that users can only access the resources they own.
Гость » 09 мар 2024, 13:00
Последнее сообщение Гость «
Гость »
Complete the Location constructors labelled FIXME in the Location class.
package comp1110.ass1; import java.util.Objects; /** * This class encodes a certain cartesian coordinate system (row, column). We call this row-major order. * For example,...
Гость » 09 мар 2024, 12:54
Последнее сообщение Гость «
Гость »
Whenever I print something inside the servlet and call it by the web browser, it returns a new page containing that text. Is there a way to print the text on the current page using Ajax?
Гость » 09 мар 2024, 12:25
Последнее сообщение Гость «
Гость »
class Burger extends Food { private int numberofPatty; public Burger(){ } public Burger(String name, String[] ingredients, double price,float calories, int numberofPatty){ super(name,ingredients,price,calories); this.numberofPatty= numberofPatty; }...
Гость » 09 мар 2024, 12:13
Последнее сообщение Гость «
Гость »
When I assemble the jar and execute it have the following error:
java -Dmicronaut.server.port=17672 -jar dictionary-be-0.1.jar Message: No bean of type exists. * requires the presence of a bean of type . * requires the presence of a bean of type...
Гость » 09 мар 2024, 12:09
Последнее сообщение Гость «
Гость »
I learned that if the names of beans registered through component scanning overlap with those registered through configuration methods, overriding occurs.
However, when I mistakenly specified the return type of a method in the configuration as the...
Гость » 09 мар 2024, 12:06
Последнее сообщение Гость «
Гость »
I'm editing velocity templates. these are used to generate PDFs. The problem is that I can't preview them. I can't see how the template will look when rendered. Are there any tools that can be used for that? I've tried googling and I can't find...
Гость » 09 мар 2024, 12:05
Последнее сообщение Гость «
Гость »
Gradle 8.6
I am trying to sign jars using jarsigner from Gradle task.
The first thing I did was generate a certificate:
keytool -genkey -alias test -validity 3650 -keyalg RSA -keystore test.jks
Гость » 09 мар 2024, 11:39
Последнее сообщение Гость «
Гость »
I have to review lots of java logs from various sources, that contain java objects dumped to a single long line. Sometimes I'd like to see them in a more formatted fashion. Note that I'm not in control of the logging or the logs I receive.
Гость » 09 мар 2024, 11:28
Последнее сообщение Гость «
Гость »
Hello I am trying to connect to a mysql database via a java servlet using eclipse and tomcat, but I take the following error: WARN: Establishing SSL connection without server's identity verification is not recommended .I added useSSL=false? to the...
Гость » 09 мар 2024, 11:20
Последнее сообщение Гость «
Гость »
I'm making an app for my high school computer science class, and I wanted to do a recreation of flappy bird in code.org using their simplified java interface. I decided to use a loop that constantly drops the turtle and moves it to the right until...
Гость » 09 мар 2024, 11:20
Последнее сообщение Гость «
Гость »
My springboot application (for blog) is using JWT method of authentication. When user tries to find a blog by the pageId which doesn't exist in the repository, I am trying to throw a NoSuchElementException
Гость » 09 мар 2024, 11:20
Последнее сообщение Гость «
Гость »
Basically what the title says. I wish to load java classes off a webhost but I dont know where to start, the end goal is to be able to run my classes in a jar by dynamically loading them in from my webhost.
Гость » 09 мар 2024, 11:04
Последнее сообщение Гость «
Гость »
I am a beginner so maybe I'm missing something simple but I am writing a program and it keeps giving me an access denied error when I select any directory with JFileChooser.
Гость » 09 мар 2024, 10:58
Последнее сообщение Гость «
Гость »
I have two entities. I want a bidirectional relationship between projects and tasks.
A project has one or more tasks A task is associated to only one project
There are my entities:
Вы можете начинать темы Вы можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы можете добавлять вложения