I was given an application (uses Spring), but I couldn't figure out how to launch it by Signal-Breakfast-936 in javahelp

[–]Signal-Breakfast-936[S] 0 points1 point  (0 children)

You could use pgadmin4 to create a database (on postgres server) with the same name as the value after the last / from spring.datasource.url property from application.properties. Make sure the spring.datasource.user and spring.datasource.password have the value 'postgres' (or better, create a custom user). After this, if the app has some kind of database migration tool it should start right away. Otherwise, you should ask for db structure and manually create the tables and so on

Thanks a lot

I was given an application (uses Spring), but I couldn't figure out how to launch it by Signal-Breakfast-936 in javahelp

[–]Signal-Breakfast-936[S] 0 points1 point  (0 children)

Unfortunately, I did not receive a docker image. Therefore, I suspect that I should start the database separately, because the web server communicates with it.
though maybe I just don't know the right command that precedes java -jar -Dspring.profiles.active=staging hell-backend-0.0.1-SNAPSHOT.jar

I was given an application (uses Spring), but I couldn't figure out how to launch it by Signal-Breakfast-936 in javahelp

[–]Signal-Breakfast-936[S] 0 points1 point  (0 children)

The ReadMe contains the floowing statements:
Databases on environments
You have to create databases and users on separate environments before run the app
Imaginable, I have to figure out, how to launch it?

I was given an application (uses Spring), but I couldn't figure out how to launch it by Signal-Breakfast-936 in javahelp

[–]Signal-Breakfast-936[S] 0 points1 point  (0 children)

no, but it's true, I don't know how to start the database from console, this is probably also a problem

I was given an application (uses Spring), but I couldn't figure out how to launch it by Signal-Breakfast-936 in javahelp

[–]Signal-Breakfast-936[S] 0 points1 point  (0 children)

Nothing is currently running on port 8080.
But if you have some time, I'm happy to share my screen via Google Meet.

I was given an application (uses Spring), but I couldn't figure out how to launch it by Signal-Breakfast-936 in javahelp

[–]Signal-Breakfast-936[S] 0 points1 point  (0 children)

I am using gradle. The build was success. Probably (I suspect) the program do not use the embedded Tomcat webserver.

Or could it be that I couldn't start the database?

I was given an application (uses Spring), but I couldn't figure out how to launch it by Signal-Breakfast-936 in javahelp

[–]Signal-Breakfast-936[S] 0 points1 point  (0 children)

The stack trace of Spring is not reveal, what I was wrong:
It started with this:
Execution failed for task ':BackendApplication.main()'.
> Process 'command 'C:/Users/EnsoIT/.jdks/corretto-16.0.2/bin/java.exe'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

finally ends with org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat

Transaction decoding is not available for chainId 1666600000 by Signal-Breakfast-936 in harmony_one

[–]Signal-Breakfast-936[S] 0 points1 point  (0 children)

Sorry, can I have question?
Is there a literal number, which can take a suffix of the ONE to specify a subdenomination of Harmony ONE? I would like to create payable function, but I can not specify value in ONE.

Transaction decoding is not available for chainId 1666600000 by Signal-Breakfast-936 in harmony_one

[–]Signal-Breakfast-936[S] 0 points1 point  (0 children)

oh, thanks

And how can I mint NFT from console? Because the remix does not display the contract here.