Jhipster 5 microservice not starting properly - jhipster

I'm just starting using jHipster 5 but can't figure out what I'm doing wrong.
I generate a microservice project without any errors.
Then I start it with the command ./mvnw without any errors in logs
But when I try to connect to localhost:8081 I have either a blank page or a 404 error. I generated an entity and populated my database and again, a curl -XGET 'http://localhost:8081/api/cars' command doesn't return anything
A few months ago, I developped a microservce in jHipster 4.14.0 without having this kind of problem.

I found some kind of workaround. Instead of doing a jhipster command to build a new projet, I used the command jhipster server.
In my case, it was enough since I was simply trying to build a simple Rest API without a microservice architecture.

Related

Azure: unable to include extension

So I'm trying to deploy a Laravel app to azure and it worked fine at the start. In this project, I need to use SOAP so I included the SoapWrapper package in my Laravel app. When however I try to deploy it to Azure after adding SoapWrapper, I get the following message:
This says that the soap module and the PHP version are not compatible. However, when I ssh into my Linux server and grab the PHP API I get the same one as the one of the modules:
I am kind of lost on how to fix this and why this happens.
Also, the path
/opt/php/7.3.27/ini/php.ini
which is stated on the first picture doesn't exist in my linux server.
Any help or suggestions?

500 error when I try to deploy nextjs ssg application with incremental-static-generation

I have NextJS app with SSG. This functionality was added recently and according to it I should do next-export after next-build to get static files. But after appearing in 9.4 of Incremental Static Regeneration I need to keep server on by npm-start command (in my case I use custom server file with next-express functionality). It works good locally and It works good when I get artifact from Azure. But It doesn't work globally when it will be deployed finally. Help please
Through my attempts, I found that it is impossible to install globally or use next in Azure Web App. That is, it cannot be deployed through Github.Deploying using other methods such as FTP cannot run successfully. It should be related to the azure node environment.
But the method provided in this post says that it can be processed by adding web.config. I think it should be useful and helpful to you. Please read it carefully and try it.
You also can read this document, maybe it useful to you.

How does NSwag works in ASP.Net Zero framework?

I tried working on an ASP.Net Zero and it works and I have used its built in PowerTools to create CRUD functionalities of the system. And I tried adding some manual front-end Angular UI in the client side of the application. I'm just not sure what will happen if I run the "refresh.bat" command in NSwag if it will erased all of my manually created UI and service proxies. Please help me.
Create a git branch and examine changes after you try it. Discard all if not acceptable.
Refresh.bat will update and generate service proxy for implemented api on .Net backend.
Always let your Api server running whenever u want to run refresh.bat.

Jhispter doesn't respond for 3 mins after this message - WARNING! git is not found on your computer

I am new to JHipster, I am seeing a weird issue. JHipster getting stuck for atleast 3 mins to ask the first question (i.e application type). However when I kill the node.exe process in task manager it will start the question. any help on this is appreciated.
jhipster --skip-git --skip-insight --skip-cache
the code you put actually eliminates the modules from jhipster but jhipster uses git modules for generating applications so its preferrable to install git.

JHipster Mini Book Tuto fail, like other

Trying to setup an app with JHipster. Every tutorials I follow I have errors and failures.
Whatever options I select I got errors on my project.
Following the JHipster MiniBook procedure I have error like this on my IDE at start:
http://imgur.com/bWdek5W
And when I follow the directives to page 24 and try to run
./gradlew bootRun
I got a build failed: http://imgur.com/jFeJEQ6
I don't know what I'm doing wrong. I follow step by step the book, or other tutorials. Something must be wrong configured on my computer.
Any idea ?
Just looking at the error messages which are shown:
On the first screenshot you have configured your IDE to use Java 1.6 source code. JHipster is using Java 1.8, so the lambda expressions (which are new in Java 1.8) cannot be compiled.
On the second screenshot you have configured JHipster to use an external database. But you have not followed the documentation, which tells you to configure that external database in your application-dev.yml configuration file (and to start the database, of course!)

Resources