ich eine jhipster monolithische App mit V4.13.0 jhipster unten generiert:Got 401 Fehler beim deploy jhipster monolithische Anwendung in Produktionsprofil
>Monolithic
> Do not use Jhipster Registry
> authentication (stateless, with a token)
> MySQL in production, H2 in-memory in development
> ehcache
> Gradle
> Angular 5
> Do not enable SASS
> Do not enable i18n
> No testing frameworks
> Do not install other generators
Ich habe nicht anwendungs prod.yml außer jdbc Inhalt ändern; und meine Winkel env ist
Angular CLI: 1.6.0
Node: 9.3.0
OS: linux x64
Angular: 5.1.0
Paket folgende jh Führungs
./gradlew -Pprod clean bootRepackage
und betrieben von
build/libs/xx-0.0.1-SNAPSHOT.war
----------------------------------------------------------
Application 'xx' is running! Access URLs:
Local: http://localhost:8080
External: http://127.0.0.1:8080
Profile(s): [prod]
----------------------------------------------------------
aber wenn ich von Browser-Anfrage von http://localhost:8080 es bekam
o.z.p.spring.web.advice.AdviceTrait : Unauthorized: Full authentication is required to access this resource
Browser Seite Fehler ist:
Request URL:http://localhost:8080/api/account
Request Method:GET
Status Code:401 Unauthorized
Remote Address:[::1]:8080
Referrer Policy:no-referrer-when-downgrade
Vielen Dank für jedermann und jede Hilfe vorantreiben!
Sie sollen eine LTS-Version von Knoten verwenden, wie empfohlen. –