Closed Dap555 closed 5 years ago
Can you please fill the template provided for opening an issue? Otherwise, we won't be able to reproduce your issue and won't be able to give you any help, as we don't have any information on the version you are using, or the steps to reproduce.
Thank you
If you want to discover how JHipster works, you can also use these online tutorials: https://github.com/jhipster/jhipster-guides :)
Hi, please find json configuration:
{ "generator-jhipster": { "promptValues": { "packageName": "io.github.jhipster.online" }, "jhipsterVersion": "5.0.2", "baseName": "jhonline", "packageName": "io.github.jhipster.online", "packageFolder": "io/github/jhipster/online", "serverPort": "8080", "authenticationType": "jwt", "hibernateCache": "ehcache", "clusteredHttpSession": false, "websocket": false, "databaseType": "sql", "devDatabaseType": "mysql", "prodDatabaseType": "mysql", "searchEngine": false, "messageBroker": false, "serviceDiscoveryType": false, "buildTool": "maven", "enableSocialSignIn": false, "jwtSecretKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "clientFramework": "angularX", "useSass": true, "clientPackageManager": "yarn", "applicationType": "monolith", "testFrameworks": [], "jhiPrefix": "jhi", "enableTranslation": false, "cacheProvider": "ehcache", "enableHibernateCache": true } } java 1.8, issue is when running command "jhipster --force-insight --skip-checks --skip-install --skip-cache --skip-git"in json created in directory "C:\Users\Kumarra\Downloads\jhipster\applications\2ace9571-affe-45c5-9c02-774b2953d676", its working fine,
but using java code:
private void runProcess(String generationId, File workingDir, String command) throws IOException { log.info("Running command: \"{}\" in directory: \"{}\"", command, workingDir); try { String line; _Process p = Runtime.getRuntime().exec("cmd "+ command, null, workingDir);_
taskExecutor.execute(() -> {
try {
p.waitFor(timeout, TimeUnit.SECONDS);
if (p.isAlive()) {
p.destroyForcibly();
}
} catch (InterruptedException e) {
at Process p = Runtime.getRuntime().exec("cmd "+ command, null, workingDir); at Runtime.getRuntime().exec(); its failing , i am getting below issue:
java.io.IOException: Cannot run program "jhipster" (in directory "C:\Users\Kumarra\Downloads\jhipster\applications\2ace9571-affe-45c5-9c02-774b2953d676"): CreateProcess error=2, The system cannot find the file specified
Hi, I think I have already deal with an issue like this. I don't remember exactly what but It seems it related to rights you have on your file system.
Please check the folder really exists and your application have enough rights to write into.
How did you generate the jhipster application? It is a quite old version. Did you follow our installation instructions?
Thanks for you support, issues got resolved while adding cmd /c in below code it was: Process p = Runtime.getRuntime().exec(command, null, workingDir); now i changed to Process p = Runtime.getRuntime().exec("cmd /c"+ command, null, workingDir); So its working fine,now able to generate microservices in local using jhipster-online git application, thanks to all.
One Question :- I am using windows. is this a reason that i need to use this above code?
@Dap555 : I think you're the same than @RaviGithub555 I blocked you from the organization JHipster as you opened at least 7 issues, without completing the template. We tried to explain you how we work but you didn't listen to us. You can't expect help here if you don't follow our guidelines. Sorry, but you can't come here and tell "it doesn't work, help me". No. We don't work like that and we can't work like that. Plz, follow our guidelines.
Just remember we are not paid for that. We do it during our free time and what you do here, it's a lost of time for all of us.
Hi Pascal, Sorry for this, actually i go through the template guide, and i dont know how to fill the complete template, as per template guide, i sending all details:
C:\jhipster\jhipster\jhipster-online-master\jhipster-online-master>jhipster info INFO! Using JHipster version installed locally in current project's node_modules Executing jhipster:info Options: Welcome to the JHipster Information Sub-Generator
jhonline@2.4.0 C:\jhipster\jhipster\jhipster-online-master\jhipster-online-master
`-- (empty)
.yo-rc.json
file generated in the root folder{ "generator-jhipster": { "promptValues": { "packageName": "io.github.jhipster.online" }, "jhipsterVersion": "5.0.2", "baseName": "jhonline", "packageName": "io.github.jhipster.online", "packageFolder": "io/github/jhipster/online", "serverPort": "8080", "authenticationType": "jwt", "hibernateCache": "ehcache", "clusteredHttpSession": false, "websocket": false, "databaseType": "sql", "devDatabaseType": "mysql", "prodDatabaseType": "mysql", "searchEngine": false, "messageBroker": false, "serviceDiscoveryType": false, "buildTool": "maven", "enableSocialSignIn": false, "jwtSecretKey": "replaced-by-jhipster-info", "clientFramework": "angularX", "useSass": true, "clientPackageManager": "yarn", "applicationType": "monolith", "testFrameworks": [], "jhiPrefix": "jhi", "enableTranslation": false, "cacheProvider": "ehcache", "enableHibernateCache": true } }
entityName.json
files generated in the .jhipster
directoryentity JdlMetadata (jdl_metadata) { key Long required, name String, isPublic Boolean } entity SubGenEvent (sub_gen_event) { year Integer, month Integer, week Integer, day Integer, hour Integer, source String, type String, event String, date Instant } entity EntityStats (entity_stats) { year Integer, month Integer, week Integer, day Integer, hour Integer, fields Integer, relationships Integer, pagination String, dto String, service String, fluentMethods Boolean, date Instant } entity Language (language) { isoCode String } entity GeneratorIdentity (generator_identity) { host String, guid String } entity UserApplication (user_application) { name String, shared Boolean, sharedLink String, userId String, configuration TextBlob } entity YoRC (yo_rc) { jhipsterVersion String, creationDate Instant, gitProvider String, nodeVersion String, os String, arch String, cpu String, cores String, memory String, userLanguage String, year Integer, month Integer, week Integer, day Integer, hour Integer, serverPort String, authenticationType String, cacheProvider String, enableHibernateCache Boolean, websocket Boolean, databaseType String, devDatabaseType String, prodDatabaseType String, searchEngine Boolean, messageBroker Boolean, serviceDiscoveryType Boolean, buildTool String, enableSwaggerCodegen Boolean, clientFramework String, useSass Boolean, clientPackageManager String, applicationType String, jhiPrefix String, enableTranslation Boolean, nativeLanguage String, hasProtractor Boolean, hasGatling Boolean, hasCucumber Boolean } service JdlMetadata, SubGenEvent, EntityStats, Language, GeneratorIdentity, UserApplication, YoRC with serviceClass
java version "1.8.0_152" Java(TM) SE Runtime Environment (build 1.8.0_152-b16) Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
git version 2.21.0.windows.1
node: v10.16.0
npm: 6.9.0
yeoman: 3.1.0
yarn: 1.17.3
Docker version 19.03.1, build 74b1e89
docker-compose version 1.24.1, build 4667896b
Congratulations, JHipster execution is complete!
jhipsterVersion": "5.0.2"
I pasted above all details: I am using windows 10
Now I am getting issue not able to create enity. ->Design Entity->Create a new jdl model-> then getting error page(your request cannot be processed) status : not found message : not found,
Hope this time i filled all template details, If anything miss please let me know
Some more logs i would like to share here:
2019-08-06 11:23:13.231 DEBUG 12836 --- [ XNIO-2 task-19] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with result = null 2019-08-06 11:23:13.251 WARN 12836 --- [ XNIO-2 task-19] o.z.p.spring.web.advice.AdviceTrait : Forbidden: Access is denied 2019-08-06 11:23:13.591 DEBUG 12836 --- [ XNIO-2 task-21] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=2019-08-06T05:53:13.590Z, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={details=org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null, type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]] 2019-08-06 11:23:13.591 DEBUG 12836 --- [ XNIO-2 task-21] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with result = null 2019-08-06 11:23:13.599 WARN 12836 --- [ XNIO-2 task-21] o.z.p.spring.web.advice.AdviceTrait : Unauthorized: Full authentication is required to access this resource 2019-08-06 11:23:13.762 DEBUG 12836 --- [ XNIO-2 task-22] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=2019-08-06T05:53:13.761Z, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={details=org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null, type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]] 2019-08-06 11:23:13.762 DEBUG 12836 --- [ XNIO-2 task-22] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with result = null 2019-08-06 11:23:13.770 WARN 12836 --- [ XNIO-2 task-22] o.z.p.spring.web.advice.AdviceTrait : Unauthorized: Full authentication is required to access this resource 2019-08-06 11:23:13.815 DEBUG 12836 --- [ XNIO-2 task-23] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=2019-08-06T05:53:13.814Z, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={details=org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null, type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]]
You title says something about jhipster online and it seems like you are using an outdated version. So at least I don't understand what you are trying to achieve and what you are doing yo be honest.
Because @atomfrede, he forked the JHipster online application which is a JHipster application to generate his own projects.
And Yes JHipster online is still on something like 5.0.2 version and yes the jhipster:info was did on master branch of JHipster online not on a generated project ;)
Ah so basically it should be in the jhipster online repository?!
On Tue, Aug 6, 2019, 09:28 Avdev4J notifications@github.com wrote:
Because @atomfrede https://github.com/atomfrede he forked the JHipster online application which is a JHipster application to generate his own projects.
And Yes JHipster online is still on something like 5.0.2 version and yes the jhipster:info was did on master branch of JHipster online not on a generated project ;)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jhipster/generator-jhipster/issues/10182?email_source=notifications&email_token=AABRVCIJHB4PUDUHB5ZKH5TQDERYDA5CNFSM4IJI37M2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3UFV3A#issuecomment-518544108, or mute the thread https://github.com/notifications/unsubscribe-auth/AABRVCICBXKKE3IEIKIEPT3QDERYDANCNFSM4IJI37MQ .
Hi I upgrade the jhipster-online version, below is jhipster info as per template:
C:\jhipster\jhipster\jhipster-online-master\jhipster-online-master>jhipster info INFO! Using JHipster version installed locally in current project's node_modules Executing jhipster:info Options: Welcome to the JHipster Information Sub-Generator
jhonline@2.4.0 C:\jhipster\jhipster\jhipster-online-master\jhipster-online-master
`-- (empty)
.yo-rc.json
file generated in the root folder{ "generator-jhipster": { "promptValues": { "packageName": "io.github.jhipster.online" }, "jhipsterVersion": "5.0.2", "baseName": "jhonline", "packageName": "io.github.jhipster.online", "packageFolder": "io/github/jhipster/online", "serverPort": "8080", "authenticationType": "jwt", "hibernateCache": "ehcache", "clusteredHttpSession": false, "websocket": false, "databaseType": "sql", "devDatabaseType": "mysql", "prodDatabaseType": "mysql", "searchEngine": false, "messageBroker": false, "serviceDiscoveryType": false, "buildTool": "maven", "enableSocialSignIn": false, "jwtSecretKey": "replaced-by-jhipster-info", "clientFramework": "angularX", "useSass": true, "clientPackageManager": "yarn", "applicationType": "monolith", "testFrameworks": [], "jhiPrefix": "jhi", "enableTranslation": false, "cacheProvider": "ehcache", "enableHibernateCache": true } }
entityName.json
files generated in the .jhipster
directoryentity JdlMetadata (jdl_metadata) { key Long required, name String, isPublic Boolean } entity SubGenEvent (sub_gen_event) { year Integer, month Integer, week Integer, day Integer, hour Integer, source String, type String, event String, date Instant } entity EntityStats (entity_stats) { year Integer, month Integer, week Integer, day Integer, hour Integer, fields Integer, relationships Integer, pagination String, dto String, service String, fluentMethods Boolean, date Instant } entity Language (language) { isoCode String } entity GeneratorIdentity (generator_identity) { host String, guid String } entity UserApplication (user_application) { name String, shared Boolean, sharedLink String, userId String, configuration TextBlob } entity YoRC (yo_rc) { jhipsterVersion String, creationDate Instant, gitProvider String, nodeVersion String, os String, arch String, cpu String, cores String, memory String, userLanguage String, year Integer, month Integer, week Integer, day Integer, hour Integer, serverPort String, authenticationType String, cacheProvider String, enableHibernateCache Boolean, websocket Boolean, databaseType String, devDatabaseType String, prodDatabaseType String, searchEngine Boolean, messageBroker Boolean, serviceDiscoveryType Boolean, buildTool String, enableSwaggerCodegen Boolean, clientFramework String, useSass Boolean, clientPackageManager String, applicationType String, jhiPrefix String, enableTranslation Boolean, nativeLanguage String, hasProtractor Boolean, hasGatling Boolean, hasCucumber Boolean } service JdlMetadata, SubGenEvent, EntityStats, Language, GeneratorIdentity, UserApplication, YoRC with serviceClass
java version "1.8.0_152" Java(TM) SE Runtime Environment (build 1.8.0_152-b16) Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
git version 2.21.0.windows.1
node: v10.16.0
npm: 6.9.0
yeoman: 3.1.0
yarn: 1.17.3
Docker version 19.03.1, build 74b1e89
docker-compose version 1.24.1, build 4667896b
String I m getting the same issue not able create new design entity, ->Design Entity->Create a new jdl model-> then getting error page(your request cannot be processed) status : not found message : not found
2019-08-06 15:42:24.629 DEBUG 12712 --- [ XNIO-2 task-27] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=2019-08-06T10:12:24.628Z, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={details=org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null, type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]],
What I need to be modify , I am not understanding, Here am trying to run jhipster-online in my local to generate microservices, please guide if possible.
Hi, still I am getting authentication issue,
2019-08-06 15:42:11.574 DEBUG 12712 --- [ XNIO-2 task-21] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=2019-08-06T10:12:11.572Z, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={details=org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null, type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]] 2019-08-06 15:42:11.576 DEBUG 12712 --- [ XNIO-2 task-21] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with result = null 2019-08-06 15:42:11.578 WARN 12712 --- [ XNIO-2 task-21] o.z.p.spring.web.advice.AdviceTrait : Unauthorized: Full authentication is required to access this resource 2019-08-06 15:42:11.773 DEBUG 12712 --- [ XNIO-2 task-22] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=2019-08-06T10:12:11.772Z, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={details=org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null, type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]] 2019-08-06 15:42:11.774 DEBUG 12712 --- [ XNIO-2 task-22] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with result = null 2019-08-06 15:42:11.780 WARN 12712 --- [ XNIO-2 task-22] o.z.p.spring.web.advice.AdviceTrait : Forbidden: Access is denied 2019-08-06 15:42:24.197 DEBUG 12712 --- [ XNIO-2 task-23] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=2019-08-06T10:12:24.195Z, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={details=org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null, type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]] 2019-08-06 15:42:24.199 DEBUG 12712 --- [ XNIO-2 task-23] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with result = null 2019-08-06 15:42:24.202 WARN 12712 --- [ XNIO-2 task-23] o.z.p.spring.web.advice.AdviceTrait : Forbidden: Access is denied 2019-08-06 15:42:24.399 DEBUG 12712 --- [ XNIO-2 task-25] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=2019-08-06T10:12:24.398Z, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={details=org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null, type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]] 2019-08-06 15:42:24.400 DEBUG 12712 --- [ XNIO-2 task-25] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with result = null 2019-08-06 15:42:24.406 WARN 12712 --- [ XNIO-2 task-25] o.z.p.spring.web.advice.AdviceTrait : Unauthorized: Full authentication is required to access this resource 2019-08-06 15:42:24.564 DEBUG 12712 --- [ XNIO-2 task-26] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=2019-08-06T10:12:24.563Z, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={details=org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null, type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]] 2019-08-06 15:42:24.565 DEBUG 12712 --- [ XNIO-2 task-26] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with result = null 2019-08-06 15:42:24.569 WARN 12712 --- [ XNIO-2 task-26] o.z.p.spring.web.advice.AdviceTrait : Unauthorized: Full authentication is required to access this resource 2019-08-06 15:42:24.629 DEBUG 12712 --- [ XNIO-2 task-27] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=2019-08-06T10:12:24.628Z, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={details=org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null, type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]] 2019-08-06 15:42:24.630 DEBUG 12712 --- [ XNIO-2 task-27] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.repository.CustomAuditEventRepository.add() with result = null 2019-08-06 15:42:24.633 WARN 12712 --- [ XNIO-2 task-27] o.z.p.spring.web.advice.AdviceTrait : Forbidden: Access is denied 2019-08-06 15:42:46.127 DEBUG 12712 --- [pool-2-thread-1] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.GitService.cleanUpOldApplications() with argument[s] = []
ct : Exit: io.github.jhipster.online.service.GitlabService.isConfigured() with result = false 2019-08-06 18:41:08.707 DEBUG 17988 --- [ XNIO-2 task-4] i.g.j.online.web.rest.GitResource : Git configuration : GitConfigurationDTO{githubHost='https://github.com', githubClientId='null', githubAvailable=false, gitlabHost='https://gitlab.com', gitlabRedirectUri='null', gitlabClientId='null', gitlabAvailable=false, githubConfigured=false, gitlabConfigured=false} 2019-08-06 18:41:08.709 DEBUG 17988 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.web.rest.GitResource.getGitlabConfig() with result = <200 OK,GitConfigurationDTO{githubHost='https://github.com', githubClientId='null', githubAvailable=false, gitlabHost='https://gitlab.com', gitlabRedirectUri='null', gitlabClientId='null', gitlabAvailable=false, githubConfigured=false, gitlabConfigured=false},{}> 2019-08-06 18:41:14.840 DEBUG 17988 --- [ XNIO-2 task-5] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.web.rest.JdlMetadataResource.getAllJdlMetadata() with argument[s] = [] 2019-08-06 18:41:14.847 DEBUG 17988 --- [ XNIO-2 task-5] i.g.j.o.web.rest.JdlMetadataResource : REST request to get all JdlMetadata 2019-08-06 18:41:14.850 DEBUG 17988 --- [ XNIO-2 task-5] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.UserService.getUser() with argument[s] = [] 2019-08-06 18:41:14.853 DEBUG 17988 --- [ XNIO-2 task-5] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.service.UserService.getUser() with result = User{login='ravi', firstName='Ravi', lastName='Kumar', email='ravi.scitm@gmail.com', imageUrl='null', activated='true', langKey='en', activationKey='31700277988597328033'} 2019-08-06 18:41:14.857 DEBUG 17988 --- [ XNIO-2 task-5] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.JdlMetadataService.findAllForUser() with argument[s] = [User{login='ravi', firstName='Ravi', lastName='Kumar', email='ravi.scitm@gmail.com', imageUrl='null', activated='true', langKey='en', activationKey='31700277988597328033'}] 2019-08-06 18:41:14.866 DEBUG 17988 --- [ XNIO-2 task-5] i.g.j.online.service.JdlMetadataService : Request to get all JdlMetadata for user ravi 2019-08-06 18:41:14.873 DEBUG 17988 --- [ XNIO-2 task-5] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.service.JdlMetadataService.findAllForUser() with result = []
Optional[User{login='ravi', firstName='Ravi', lastName='Kumar', email='ravi.scitm@gmail.com', imageUrl='null', activated='true', langKey='en', activationKey='31700277988597328033'}]
This ticket has been closed as the guidelines are not followed.
Tickets must follow our Guidelines, as mentioned in:
We have also created a template on the "create a new ticket" page to help you follow those guidelines.
If this is indeed a JHipster bug, please open a new issue with proper details or update this issue with all details and request to reopen. Issues opened without proper details will be closed without explanation.
If you have a question please use Stack Overflow, and tag the question with jhipster. This helps the project to keep the issue tracker clean. Also, Stack Overflow will give your question a larger audience:
This is not a JHipster bug, it is a support request. Please use stack overflow for this kind of problems. We will not help you here.
From the log:
Optional[User{login='ravi', firstName='Ravi', lastName='Kumar', email='ravi.scitm@gmail.com', imageUrl='null', activated='true', langKey='en', activationKey='31700277988597328033'}]
So I think same as @pascalgrimaud that this user is @RaviGithub555. It is really bad that this user keeps asking for help without following the guidelines.
Hi , Still I am getting "your request cannot be processed , status : not found, message : not found, "on screen while clink on button "create a new jdl model", Below is jhipster info "Template" C:\jhipster\jhipster\jhipster-online-master\jhipster-online-master>jhipster info INFO! Using JHipster version installed locally in current project's node_modules Executing jhipster:info Options: Welcome to the JHipster Information Sub-Generator
jhonline@2.4.0 C:\jhipster\jhipster\jhipster-online-master\jhipster-online-master
`-- (empty)
.yo-rc.json
file generated in the root folder{ "generator-jhipster": { "promptValues": { "packageName": "io.github.jhipster.online" }, "jhipsterVersion": "5.0.2", "baseName": "jhonline", "packageName": "io.github.jhipster.online", "packageFolder": "io/github/jhipster/online", "serverPort": "8080", "authenticationType": "jwt", "hibernateCache": "ehcache", "clusteredHttpSession": false, "websocket": false, "databaseType": "sql", "devDatabaseType": "mysql", "prodDatabaseType": "mysql", "searchEngine": false, "messageBroker": false, "serviceDiscoveryType": false, "buildTool": "maven", "enableSocialSignIn": false, "jwtSecretKey": "replaced-by-jhipster-info", "clientFramework": "angularX", "useSass": true, "clientPackageManager": "yarn", "applicationType": "monolith", "testFrameworks": [], "jhiPrefix": "jhi", "enableTranslation": false, "cacheProvider": "ehcache", "enableHibernateCache": true } }
entityName.json
files generated in the .jhipster
directoryentity JdlMetadata (jdl_metadata) { key Long required, name String, isPublic Boolean } entity SubGenEvent (sub_gen_event) { year Integer, month Integer, week Integer, day Integer, hour Integer, source String, type String, event String, date Instant } entity EntityStats (entity_stats) { year Integer, month Integer, week Integer, day Integer, hour Integer, fields Integer, relationships Integer, pagination String, dto String, service String, fluentMethods Boolean, date Instant } entity Language (language) { isoCode String } entity GeneratorIdentity (generator_identity) { host String, guid String } entity UserApplication (user_application) { name String, shared Boolean, sharedLink String, userId String, configuration TextBlob } entity YoRC (yo_rc) { jhipsterVersion String, creationDate Instant, gitProvider String, nodeVersion String, os String, arch String, cpu String, cores String, memory String, userLanguage String, year Integer, month Integer, week Integer, day Integer, hour Integer, serverPort String, authenticationType String, cacheProvider String, enableHibernateCache Boolean, websocket Boolean, databaseType String, devDatabaseType String, prodDatabaseType String, searchEngine Boolean, messageBroker Boolean, serviceDiscoveryType Boolean, buildTool String, enableSwaggerCodegen Boolean, clientFramework String, useSass Boolean, clientPackageManager String, applicationType String, jhiPrefix String, enableTranslation Boolean, nativeLanguage String, hasProtractor Boolean, hasGatling Boolean, hasCucumber Boolean } service JdlMetadata, SubGenEvent, EntityStats, Language, GeneratorIdentity, UserApplication, YoRC with serviceClass
java version "1.8.0_152" Java(TM) SE Runtime Environment (build 1.8.0_152-b16) Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
git version 2.21.0.windows.1
node: v10.16.0
npm: 6.9.0
yeoman: 3.1.0
yarn: 1.17.3
Docker version 19.03.1, build 74b1e89
docker-compose version 1.24.1, build 4667896b
logs:
2019-08-07 12:03:42.395 DEBUG 19820 --- [ XNIO-2 task-1] i.g.j.online.web.rest.GitResource : Git configuration : GitConfigurationDTO{githubHost='https://github.com', githubClientId='null', githubAvailable=false, gitlabHost='https://gitlab.com', gitlabRedirectUri='null', gitlabClientId='null', gitlabAvailable=false, githubConfigured=false, gitlabConfigured=false} 2019-08-07 12:03:42.400 DEBUG 19820 --- [ XNIO-2 task-1] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.web.rest.GitResource.getGitlabConfig() with result = <200 OK,GitConfigurationDTO{githubHost='https://github.com', githubClientId='null', githubAvailable=false, gitlabHost='https://gitlab.com', gitlabRedirectUri='null', gitlabClientId='null', gitlabAvailable=false, githubConfigured=false, gitlabConfigured=false},{}> 2019-08-07 12:03:42.567 DEBUG 19820 --- [ XNIO-2 task-3] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.web.rest.AccountResource.getAccount() with argument[s] = [] 2019-08-07 12:03:42.602 DEBUG 19820 --- [ XNIO-2 task-3] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.UserService.getUserWithAuthorities() with argument[s] = [] 2019-08-07 12:03:42.669 DEBUG 19820 --- [ XNIO-2 task-3] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.service.UserService.getUserWithAuthorities() with result = Optional[User{login='RaviGithub555', firstName='Ravi', lastName='Kumar', email='ravi.scitm@gmail.com', imageUrl='null', activated='true', langKey='en', activationKey='52892693814623479987'}] 2019-08-07 12:03:42.677 DEBUG 19820 --- [ XNIO-2 task-3] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.web.rest.AccountResource.getAccount() with result = UserDTO{login='RaviGithub555', firstName='Ravi', lastName='Kumar', email='ravi.scitm@gmail.com', imageUrl='null', activated=true, langKey='en', createdBy=anonymousUser, createdDate=2019-08-07T06:12:08Z, lastModifiedBy='ravigithub555', lastModifiedDate=2019-08-07T06:26:20Z, authorities=[ROLE_USER]} 2019-08-07 12:03:42.782 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.web.rest.GitResource.getGitlabConfig() with argument[s] = [] 2019-08-07 12:03:42.783 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.GithubService.getHost() with argument[s] = [] 2019-08-07 12:03:42.786 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.service.GithubService.getHost() with result = https://github.com 2019-08-07 12:03:42.792 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.GithubService.getClientId() with argument[s] = [] 2019-08-07 12:03:42.794 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.service.GithubService.getClientId() with result = null 2019-08-07 12:03:42.796 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.GithubService.isEnabled() with argument[s] = [] 2019-08-07 12:03:42.803 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.service.GithubService.isEnabled() with result = false 2019-08-07 12:03:42.805 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.GitlabService.getHost() with argument[s] = [] 2019-08-07 12:03:42.806 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.service.GitlabService.getHost() with result = https://gitlab.com 2019-08-07 12:03:42.808 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.GitlabService.getRedirectUri() with argument[s] = [] 2019-08-07 12:03:42.811 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.service.GitlabService.getRedirectUri() with result = null 2019-08-07 12:03:42.823 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.GitlabService.getClientId() with argument[s] = [] 2019-08-07 12:03:42.825 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.service.GitlabService.getClientId() with result = null 2019-08-07 12:03:42.830 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.GitlabService.isEnabled() with argument[s] = [] 2019-08-07 12:03:42.833 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.service.GitlabService.isEnabled() with result = false 2019-08-07 12:03:42.835 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.GithubService.isConfigured() with argument[s] = [] 2019-08-07 12:03:42.841 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.service.GithubService.isConfigured() with result = false 2019-08-07 12:03:42.843 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.GitlabService.isConfigured() with argument[s] = [] 2019-08-07 12:03:42.847 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.service.GitlabService.isConfigured() with result = false 2019-08-07 12:03:42.848 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.web.rest.GitResource : Git configuration : GitConfigurationDTO{githubHost='https://github.com', githubClientId='null', githubAvailable=false, gitlabHost='https://gitlab.com', gitlabRedirectUri='null', gitlabClientId='null', gitlabAvailable=false, githubConfigured=false, gitlabConfigured=false} 2019-08-07 12:03:42.849 DEBUG 19820 --- [ XNIO-2 task-4] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.web.rest.GitResource.getGitlabConfig() with result = <200 OK,GitConfigurationDTO{githubHost='https://github.com', githubClientId='null', githubAvailable=false, gitlabHost='https://gitlab.com', gitlabRedirectUri='null', gitlabClientId='null', gitlabAvailable=false, githubConfigured=false, gitlabConfigured=false},{}> 2019-08-07 12:04:25.327 DEBUG 19820 --- [ XNIO-2 task-5] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.web.rest.JdlMetadataResource.getAllJdlMetadata() with argument[s] = [] 2019-08-07 12:04:25.338 DEBUG 19820 --- [ XNIO-2 task-5] i.g.j.o.web.rest.JdlMetadataResource : REST request to get all JdlMetadata 2019-08-07 12:04:26.781 DEBUG 19820 --- [pool-2-thread-1] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.GitService.cleanUpOldApplications() with argument[s] = [] 2019-08-07 12:04:26.784 DEBUG 19820 --- [pool-2-thread-1] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.service.GitService.cleanUpOldApplications() with result = null 2019-08-07 12:04:27.812 DEBUG 19820 --- [ XNIO-2 task-5] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.UserService.getUser() with argument[s] = [] 2019-08-07 12:04:27.817 DEBUG 19820 --- [ XNIO-2 task-5] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.service.UserService.getUser() with result = User{login='RaviGithub555', firstName='Ravi', lastName='Kumar', email='ravi.scitm@gmail.com', imageUrl='null', activated='true', langKey='en', activationKey='52892693814623479987'} 2019-08-07 12:04:28.285 DEBUG 19820 --- [ XNIO-2 task-5] i.g.j.online.aop.logging.LoggingAspect : Enter: io.github.jhipster.online.service.JdlMetadataService.findAllForUser() with argument[s] = [User{login='RaviGithub555', firstName='Ravi', lastName='Kumar', email='ravi.scitm@gmail.com', imageUrl='null', activated='true', langKey='en', activationKey='52892693814623479987'}] 2019-08-07 12:04:28.294 DEBUG 19820 --- [ XNIO-2 task-5] i.g.j.online.service.JdlMetadataService : Request to get all JdlMetadata for user RaviGithub555 2019-08-07 12:04:28.302 DEBUG 19820 --- [ XNIO-2 task-5] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.service.JdlMetadataService.findAllForUser() with result = [] 2019-08-07 12:04:28.305 DEBUG 19820 --- [ XNIO-2 task-5] i.g.j.online.aop.logging.LoggingAspect : Exit: io.github.jhipster.online.web.rest.JdlMetadataResource.getAllJdlMetadata() with result = []
Please help me to identify the issue so I can work on this.
Thanks, Ravi Kumar
I am new user of jhipster, I am trying to run jhipster online, getting same issue "The system cannot find the file specified"
while debug getting logs... java.io.IOException: Cannot run program "jhipster" (in directory "C:\Users\Kumarra\Downloads\jhipster\applications\2ace9571-affe-45c5-9c02-774b2953d676"): CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source),
internally its generating command: jhipster --force-insight --skip-checks --skip-install --skip-cache --skip-git
note: when i am executing above command manually in cmd in generated file directory, application is successfully created, but while running jhipster online application getting issue, which i have mentioned above. Please help me to solve this issue.