Closed spyhunter88 closed 7 years ago
It should be easier for us if you copy/past your .yo-rc.json
.
You can use the sub generator yo jhipster:info
for that.
Then, tell us how to reproduce your issue:
./mvnw
, java -jar target/*.war
or directly the main class?./mvnw
, java -jar target/*.war
or directly the main class?I'm pretty sure this because you didn't start up the JHipster Registry, that's why I'm closing this. The error message should be better, maybe.
I use window 10, no docker, just open cmd and setting yo jhipster like above. I tried both mvnw.cmd and main class Bch3App.java from Eclipse. Also, my yo-rc.json
{
"generator-jhipster": {
"jhipsterVersion": "3.12.1",
"baseName": "bch3",
"packageName": "ftg.bch3",
"packageFolder": "ftg/bch3",
"serverPort": "8080",
"authenticationType": "jwt",
"hibernateCache": "hazelcast",
"clusteredHttpSession": false,
"websocket": false,
"databaseType": "sql",
"devDatabaseType": "postgresql",
"prodDatabaseType": "postgresql",
"searchEngine": false,
"messageBroker": false,
"serviceDiscoveryType": "eureka",
"buildTool": "maven",
"enableSocialSignIn": false,
"jwtSecretKey": "9669ea8b3b2acdab792fc19d9defa5356cfcc6ff",
"useSass": false,
"applicationType": "gateway",
"testFrameworks": [
"gatling"
],
"jhiPrefix": "jhi",
"enableTranslation": true,
"nativeLanguage": "en",
"languages": [
"en",
"vi"
]
}
}
What am I missing?
@spyhunter88 I'm sorry to repeat this, but did you follow the documentation and ran the JHipster Registry? If you're not running it, then that's normal
Hi I too get this error on latest Jhipster 6. My app is monolithic, and i am running prod build. what change should i do in current app to get past it pleaae?
thanks
@abhishekj : plz, don't comment old ticket and open a new one if you thing there is an issue with JHipster. Anyway, if you have the same error, it's because you didn't start the registry.
Yes, as @pascalgrimaud said, if you think this is a bug, please open a new ticket and follow the template as it will give us steps to reproduce and information about your configuration.
Otherwise, we won't be able to give you any help
Hello, I started the registry, and it works really fine, but all the other projects (uaa server, gateway and microservice) are giving the error, which is: java.lang.IllegalStateException: Could not locate PropertySource and the fail fast property is set, failing this happens on production profile, I built all the 4 projects into jar files and ran them.
hey @monzertaq
As in the two comments before, please do not comment on such old issues. We consider this one as closed, and if it is not, please open a new one with more details on your configuration, error messages and more. Otherwise, we will have issues to support you.
Thanks
Oh, I am really really sorry @xetys in fact, it worked with me, I noticed that I did change anything in the application-prod.yml nor bootstrap-prod.yml files. I am sorry again.
Overview of the issue
It said:
Caused by: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://localhost:8761/config/bch3/dev/master": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
I found it's not a new issue, but hard to find how to resolve it. I tried with fresh installation, without any others config after generator but still get this error.I am using window 10 (latest release build), JHipster Generator v3.12.1, then create with following log:
I also tried to re-generate with H2 database for development but still got this.
Please tell me how to resolve, I used Jhipster for long time but new to Eureka technology.