Closed slade13 closed 3 years ago
Can you post your information with jhipster info
plz? So we'll know your node, npm version etc
It's to compare with our daily builds for Windows: https://github.com/hipster-labs/jhipster-daily-builds/actions/runs/580874212
Sure, here is the full output:
INFO! Using JHipster version installed locally in current project's node_modules
Welcome to the JHipster Information Sub-Generator
##### **JHipster Version(s)**
gateway@0.0.0 C:\Users\mateu\OneDrive\Documents\work\jhipster-contribution\reproduce#13862_newV\gateway
-- generator-jhipster@7.0.0-beta.1
##### **JHipster configuration, a `.yo-rc.json` file generated in the root folder**
<details>
<summary>.yo-rc.json file</summary>
<pre>
{
"generator-jhipster": {
"authenticationType": "oauth2",
"cacheProvider": "no",
"clientFramework": "vue",
"serverPort": "8080",
"serviceDiscoveryType": "eureka",
"skipUserManagement": true,
"withAdminUi": true,
"baseName": "gateway",
"buildTool": "gradle",
"databaseType": "sql",
"devDatabaseType": "h2Disk",
"enableHibernateCache": false,
"enableSwaggerCodegen": false,
"enableTranslation": true,
"jhiPrefix": "jhi",
"languages": [
"en"
],
"messageBroker": false,
"prodDatabaseType": "postgresql",
"searchEngine": false,
"skipClient": false,
"testFrameworks": [
"protractor"
],
"websocket": false,
"reactive": true,
"packageName": "com.okta.developer.gateway",
"packageFolder": "com/okta/developer/gateway",
"applicationType": "gateway",
"jhipsterVersion": "7.0.0-beta.1",
"skipServer": false,
"clientPackageManager": "npm",
"dtoSuffix": "DTO",
"entitySuffix": "",
"clientTheme": "none",
"clientThemeVariant": "",
"skipCheckLengthOfIdentifier": false,
"skipFakeData": false,
"blueprints": [],
"otherModules": [],
"pages": [],
"nativeLanguage": "en",
"creationTimestamp": 1613652422899,
"lastLiquibaseTimestamp": 1613652662000,
"entities": [
"Blog",
"Post",
"Product",
"Tag"
],
"appFolder": "gateway"
}
}
</pre>
</details>
##### **JDL for the Entity configuration(s) `entityName.json` files generated in the `.jhipster` directory**
<details>
<summary>JDL entity definitions</summary>
<pre>
entity Blog {
name String required minlength(3)
handle String required minlength(2)
}
entity Post {
title String required
content TextBlob required
date Instant required
}
entity Product {
title String required
price BigDecimal required min(0)
image ImageBlob
}
entity Tag {
name String required minlength(2)
}
relationship ManyToOne {
Blog{user(login)} to User
Post{blog(name)} to Blog
}
relationship ManyToMany {
Post{tag(name)} to Tag{post}
}
microservice Blog, Post, Tag with blog
microservice Product with store
clientRootFolder Blog, Post, Tag with blog
clientRootFolder Product with store
paginate Post, Tag with infinite-scroll
paginate Product with pagination
</pre>
</details>
##### **Environment and Tools**
java version "11.0.10" 2021-01-19 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.10+8-LTS-162)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.10+8-LTS-162, mixed mode)
git version 2.30.0.windows.1
node: v14.15.4
npm: 7.5.4
Docker version 20.10.2, build 2291f61
docker-compose version 1.27.4, build 40524192
INFO! Congratulations, JHipster execution is complete!
ping @jhipster/developers : is there someone with Windows who can test this one plz ?
Adding a bounty to encourage folks to test on Windows.
Here's what I've tested on my Windows machine:
jhipster jdl reactive-ms
cd gateway
docker-compose -f src/main/docker/keycloak.yml up -d
docker-compose -f src/main/docker/postgresql.yml up -d
docker-compose -f src/main/docker/jhipster-registry.yml up -d
gradlew
# open a new terminal
cd blog
docker-compose -f src/main/docker/neo4j.yml up -d
gradlew
# open a new terminal
cd store
docker-compose -f src/main/docker/mongodb.yml up -d
gradlew
I've been able to:
However (but I think this is unrelated to this ticket, but rather to #14196), I can't create a new tag or new blog post.
Then I've stopped gateway, and - in the gateway folder - relaunched it prod profile:
./gradlew -Pprod
Nothing particular here, I'm still been able to access gateway on http://localhost:8080, authenticate with admin.
So, it seems I can't reproduce the issue described here. For the record:
##### **Environment and Tools**
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
git version 2.29.2.windows.2
node: v14.15.1
npm: 6.14.8
Docker version 20.10.2, build 2291f61
docker-compose version 1.27.4, build 40524192
Last commits of main branches:
I’ve created daily builds for react and vue. https://github.com/hipster-labs/jhipster-daily-builds/actions/runs/645610146.
IMO this was a webpack plugin problem that was fixed upstream. @slade13 can you still reproduce the problem?
I also tried to reproduce on windows. Everything seems to work fine.
I do see the difference in the npm
version. Daily builds use 6.14.6
, whereas the issue is raised with 7.5.4
We only support the LTS versions of node/npm
On Fri, 12 Mar 2021, 3:36 pm Vishal Mahajan, @.***> wrote:
I do see the difference in the npm version. Daily builds use 6.14.6, whereas the issue is raised with 7.5.4
— You are receiving this because you are on a team that was mentioned. Reply to this email directly, view it on GitHub https://github.com/jhipster/generator-jhipster/issues/13996#issuecomment-797528636, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIOKF2G6I5WOHGRIOJWTWDTDIRGHANCNFSM4X2J6G5Q .
Ah ok
On Fri, 12 Mar 2021, 6:39 pm Vishal Mahajan, @.***> wrote:
— You are receiving this because you are on a team that was mentioned. Reply to this email directly, view it on GitHub https://github.com/jhipster/generator-jhipster/issues/13996#issuecomment-797646672, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIOKF5KC3QPRJHLLOPOYRLTDJGURANCNFSM4X2J6G5Q .
Closing since 2 core developer were unable to reproduce and CI is passing.
Overview of the issue
After running
jhipster jdl reactive-ms
there is a problem with an access to the gateway on http://localhost:8080/ :logs:
Each time I visit the page the
[oundedElastic-1] o.z.problem.spring.common.AdviceTraits : Not Found: 404 NOT_FOUND
is populated.After running gateway in production mode, build fails:
Motivation for or Use Case
Behavior of the application should be the same or at least operational for both Windows and macOS/Linux systems.
As I know everything works just fine on the macOS.
Reproduce the error
To reproduce this error follow the procedures below:
Related issues
Problem happened when I tried to reproduce this issue: #13862
Suggest a Fix
Static resources are not copied to gateway\build\resources\main\static
Reverting commit 525b1b223b327399c907d501d8faa06f05f2a344 fixes this problem.
JHipster Version(s)
Current main branch from 18.02.2021
Browsers and Operating System
Tested on Chrome, Edge and Firefox - behavior is the same, so it's not the case Windows 10.0.19041