Overview of the request
blank page on startup on FireFox and Chrome in windows OS with no exceptions
Motivation for or Use Case
tried jhipster-sample-app as well as building a new application from generator-jhipster
Browsers and Operating System
all browsers
C:Workneon-workspacejhipster-sample-app.jhipster>yo jhipster:info
Just found a .yo-rc.json in a parent directory.
Setting the project root at: C:Workneon-workspacejhipster-sample-app
Welcome to the JHipster Information Sub-Generator
[email protected] C:\Work\neon-workspace\jhipster-sample-app
`-- (empty)
.yo-rc.json file generated in the root folder{
"generator-jhipster": {
"baseName": "jhipsterSampleApplication",
"packageName": "io.github.jhipster.sample",
"packageFolder": "io/github/jhipster/sample",
"authenticationType": "session",
"hibernateCache": "ehcache",
"clusteredHttpSession": false,
"websocket": false,
"databaseType": "sql",
"devDatabaseType": "h2Memory",
"prodDatabaseType": "mysql",
"useCompass": false,
"buildTool": "maven",
"rememberMeKey": "5c37379956bd1242f5636c8cb322c2966ad81277",
"searchEngine": false,
"enableTranslation": true,
"applicationType": "monolith",
"testFrameworks": [
"gatling",
"protractor"
],
"languages": [
"en"
],
"serverPort": 8080,
"jhipsterVersion": "3.10.0",
"enableSocialSignIn": false,
"useSass": false,
"jhiPrefix": "jhi",
"messageBroker": false,
"serviceDiscoveryType": false
}
}
entityName.json files generated in the .jhipster directoryBankAccount.json
{
"relationships": [
{
"relationshipId": 1,
"relationshipName": "user",
"otherEntityName": "user",
"relationshipType": "many-to-one",
"otherEntityField": "login"
},
{
"relationshipId": 2,
"relationshipName": "operation",
"otherEntityName": "operation",
"relationshipType": "one-to-many",
"otherEntityRelationshipName": "bankAccount"
}
],
"fields": [
{
"fieldId": 1,
"fieldName": "name",
"fieldType": "String",
"fieldValidateRules": [
"required"
]
},
{
"fieldId": 2,
"fieldName": "balance",
"fieldType": "BigDecimal",
"fieldValidateRules": [
"required"
]
}
],
"changelogDate": "20150805124838",
"dto": "no",
"pagination": "no"
}
Label.json
{
"relationships": [
{
"relationshipId": 1,
"relationshipName": "operation",
"otherEntityName": "operation",
"relationshipType": "many-to-many",
"ownerSide": false,
"otherEntityRelationshipName": "label"
}
],
"fields": [
{
"fieldId": 1,
"fieldName": "label",
"fieldType": "String",
"fieldValidateRules": [
"required",
"minlength"
],
"fieldValidateRulesMinlength": "3"
}
],
"changelogDate": "20150805124936",
"dto": "no",
"pagination": "no"
}
Operation.json
{
"relationships": [
{
"relationshipId": 1,
"relationshipName": "bankAccount",
"otherEntityName": "bankAccount",
"relationshipType": "many-to-one",
"otherEntityField": "name"
},
{
"relationshipId": 2,
"relationshipName": "label",
"otherEntityName": "label",
"relationshipType": "many-to-many",
"otherEntityField": "label",
"ownerSide": true
}
],
"fields": [
{
"fieldId": 1,
"fieldName": "date",
"fieldType": "DateTime",
"fieldValidateRules": [
"required"
]
},
{
"fieldId": 2,
"fieldName": "description",
"fieldType": "String"
},
{
"fieldId": 3,
"fieldName": "amount",
"fieldType": "BigDecimal",
"fieldValidateRules": [
"required"
]
}
],
"changelogDate": "20150805125054",
"dto": "no",
"pagination": "infinite-scroll"
}
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) Client VM (build 25.111-b14, mixed mode, sharing)
node: v6.9.1
npm: 3.10.8
bower: 1.8.0
gulp:
[23:55:49] CLI version 3.9.1
yeoman: 1.8.5
Docker version 1.9.0, build 76d6bc9
docker-compose version: 1.5.0
Logs:
C:Workneon-workspacejhipster-sample-app>mvnw
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Jhipster Sample Application 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.4.1.RELEASE:run (default-cli) > test-compile @ jhipster-sample-application >>>
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (default-resources) @ jhipster-sample-application ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 12 resources
[INFO] Copying 11 resources
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ jhipster-sample-application ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 12 resources
[INFO] Copying 11 resources
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ jhipster-sample-application ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-unit-tests) @ jhipster-sample-application ---
..
[INFO]
[INFO] --- maven-processor-plugin:2.2.4:process (process) @ jhipster-sample-application ---
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jhipster-sample-application ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 94 source files to C:Workneon-workspacejhipster-sample-apptargetclasses
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ jhipster-sample-application ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ jhipster-sample-application ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< spring-boot-maven-plugin:1.4.1.RELEASE:run (default-cli) < test-compile @ jhipster-sample-application <<<
[INFO]
[INFO] --- spring-boot-maven-plugin:1.4.1.RELEASE:run (default-cli) @ jhipster-sample-application ---
[INFO] Attaching agents: []
ββ ββ ββ ββββββββ βββββββ ββββββ ββββββββ ββββββββ βββββββ
ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ
ββ ββββββββ ββ βββββββ βββββ ββ ββββββ βββββββ
ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ
ββββββ ββ ββ ββββββββ ββ ββββββ ββ ββββββββ ββ ββ
:: JHipster ? :: Running Spring Boot 1.4.1.RELEASE ::
:: http://jhipster.github.io ::
2016-11-13 23:58:14.453 INFO 10624 --- [ restartedMain] i.g.j.s.JhipsterSampleApplicationApp : Starting JhipsterSampleApplicationApp on LT1 with PID 10624 (C:Workneon-workspacejhipster-sample-apptargetclasses started by prod in C:Workneon-workspacejhipster-sample-app
)
2016-11-13 23:58:14.457 DEBUG 10624 --- [ restartedMain] i.g.j.s.JhipsterSampleApplicationApp : Running with Spring Boot v1.4.1.RELEASE, Spring v
4.3.3.RELEASE
2016-11-13 23:58:14.457 INFO 10624 --- [ restartedMain] i.g.j.s.JhipsterSampleApplicationApp : The following profiles are active: swagger,dev
2016-11-13 23:58:14.596 DEBUG 10624 --- [kground-preinit] org.jboss.logging : Logging Provider: org.jboss.logging.Slf4jLoggerPr
ovider found via system property
2016-11-13 23:58:18.080 DEBUG 10624 --- [ restartedMain] i.g.j.sample.config.AsyncConfiguration : Creating Async Task Executor
2016-11-13 23:58:18.850 DEBUG 10624 --- [ restartedMain] i.g.j.s.config.MetricsConfiguration : Registering JVM gauges
2016-11-13 23:58:18.911 DEBUG 10624 --- [ restartedMain] i.g.j.s.config.MetricsConfiguration : Monitoring the datasource
2016-11-13 23:58:18.912 DEBUG 10624 --- [ restartedMain] i.g.j.s.config.MetricsConfiguration : Initializing Metrics JMX reporting
2016-11-13 23:58:19.525 WARN 10624 --- [ restartedMain] io.undertow.websockets.jsr : UT026009: XNIO worker was not set on WebSocketDep
loymentInfo, the default worker will be used
2016-11-13 23:58:19.526 WARN 10624 --- [ restartedMain] io.undertow.websockets.jsr : UT026010: Buffer pool was not set on WebSocketDep
loymentInfo, the default pool will be used
2016-11-13 23:58:20.373 INFO 10624 --- [ restartedMain] i.g.j.sample.config.WebConfigurer : Web application configuration, using profiles: [s
wagger, dev]
2016-11-13 23:58:20.373 DEBUG 10624 --- [ restartedMain] i.g.j.sample.config.WebConfigurer : Initializing Metrics registries
2016-11-13 23:58:20.376 DEBUG 10624 --- [ restartedMain] i.g.j.sample.config.WebConfigurer : Registering Metrics Filter
2016-11-13 23:58:20.377 DEBUG 10624 --- [ restartedMain] i.g.j.sample.config.WebConfigurer : Registering Metrics Servlet
2016-11-13 23:58:20.381 DEBUG 10624 --- [ restartedMain] i.g.j.sample.config.WebConfigurer : Initialize H2 console
2016-11-13 23:58:20.381 INFO 10624 --- [ restartedMain] i.g.j.sample.config.WebConfigurer : Web application fully configured
2016-11-13 23:58:20.674 DEBUG 10624 --- [ restartedMain] i.g.j.s.config.DatabaseConfiguration : Configuring Liquibase
2016-11-13 23:58:20.690 WARN 10624 --- [tion-Executor-1] i.g.j.s.c.l.AsyncSpringLiquibase : Starting Liquibase asynchronously, your database
might not be ready at startup!
2016-11-13 23:58:22.010 DEBUG 10624 --- [tion-Executor-1] i.g.j.s.c.l.AsyncSpringLiquibase : Started Liquibase in 1319 ms
2016-11-13 23:58:22.712 INFO 10624 --- [ restartedMain] i.g.j.s.JhipsterSampleApplicationApp : Running with Spring profile(s) : [swagger, dev]
2016-11-13 23:58:25.771 DEBUG 10624 --- [ restartedMain] i.g.j.sample.config.CacheConfiguration : Starting Ehcache
2016-11-13 23:58:25.775 DEBUG 10624 --- [ restartedMain] i.g.j.sample.config.CacheConfiguration : Registering Ehcache Metrics gauges
2016-11-13 23:58:26.395 DEBUG 10624 --- [ restartedMain] i.g.j.s.c.apidoc.SwaggerConfiguration : Starting Swagger
2016-11-13 23:58:26.408 DEBUG 10624 --- [ restartedMain] i.g.j.s.c.apidoc.SwaggerConfiguration : Started Swagger in 13 ms
2016-11-13 23:58:32.402 INFO 10624 --- [ restartedMain] i.g.j.s.JhipsterSampleApplicationApp : Started JhipsterSampleApplicationApp in 19.08 sec
onds (JVM running for 19.718)
Application 'jhipsterSampleApplication' is running! Access URLs:
Local: http://localhost:8080
2016-11-14 00:00:00.042 DEBUG 10624 --- [pool-2-thread-1] i.g.j.sample.aop.logging.LoggingAspect : Enter: io.github.jhipster.sample.service.UserServ
ice.removeOldPersistentTokens() with argument[s] = []
Hibernate: select persistent0_.series as series1_4_, persistent0_.ip_address as ip_addre2_4_, persistent0_.token_date as token_da3_4_, persistent0_.to
ken_value as token_va4_4_, persistent0_.user_id as user_id6_4_, persistent0_.user_agent as user_age5_4_ from jhi_persistent_token persistent0_ where p
ersistent0_.token_date
2016-11-14 00:00:00.368 DEBUG 10624 --- [pool-2-thread-1] i.g.j.sample.aop.logging.LoggingAspect : Exit: io.github.jhipster.sample.service.UserServi
ce.removeOldPersistentTokens() with result = null
A quick look at the page source showed that /bower_components was completely missing. Is this a windows bug? I tried to copy these components from the sample app, but looks like the expected modules
are different
http://localhost:8080/bower_components/*
Also, another issue is that if we enable kafka, it is forcing us to validate the ZK/Broker endpoints, I thought jhipster brings up some embedded kafka instance, isn't it?
I tried twice and chose fewer/simpler components and reproduce the problem in new folders, something with windows OS?
+-- [email protected]
+-- [email protected]
-- [email protected]
-- [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_moduleschokidarnode_modulesfsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","a
rch":"x64"})
bower angular#1.5.8 ENOGIT git is not installed or not in the PATH
Server app generated successfully.
Client app generated successfully.
[00:27:10] Using gulpfile C:Workneon-workspacejhipster_app_2gulpfile.js
[00:27:11] Starting 'install'...
[00:27:11] Starting 'inject:test'...
[00:27:11] 'inject:test' errored after 33 ms
[00:27:11] Error: Bower components directory does not exist at C:Workneon-workspacejhipster_app_2srcmainwebappbower_components
at Error (native)
at module.exports (C:Workneon-workspacejhipster_app_2node_modulesmain-bower-fileslibindex.js:76:17)
at Gulp.test (C:Workneon-workspacejhipster_app_2gulpinject.js:46:31)
at module.exports (C:Workneon-workspacejhipster_app_2node_modulesorchestratorlibrunTask.js:34:7)
at Gulp.Orchestrator._runTask (C:Workneon-workspacejhipster_app_2node_modulesorchestratorindex.js:273:3)
at Gulp.Orchestrator._runStep (C:Workneon-workspacejhipster_app_2node_modulesorchestratorindex.js:214:10)
at Gulp.Orchestrator.start (C:Workneon-workspacejhipster_app_2node_modulesorchestratorindex.js:134:8)
at runNextSet (C:Workneon-workspacejhipster_app_2node_modulesrun-sequenceindex.js:86:16)
at runSequence (C:Workneon-workspacejhipster_app_2node_modulesrun-sequenceindex.js:97:2)
at Gulp.
at module.exports (C:Workneon-workspacejhipster_app_2node_modulesorchestratorlibrunTask.js:34:7)
at Gulp.Orchestrator._runTask (C:Workneon-workspacejhipster_app_2node_modulesorchestratorindex.js:273:3)
at Gulp.Orchestrator._runStep (C:Workneon-workspacejhipster_app_2node_modulesorchestratorindex.js:214:10)
at Gulp.Orchestrator.start (C:Workneon-workspacejhipster_app_2node_modulesorchestratorindex.js:134:8)
at C:UsersprodAppDataRoamingnpmnode_modulesgulpbingulp.js:129:20
at _combinedTickCallback (internal/process/next_tick.js:67:7)
[00:27:11] Error in plugin 'run-sequence(inject:test)'
Message:
Bower components directory does not exist at C:Workneon-workspacejhipster_app_2srcmainwebappbower_components
Stack:
Error: Bower components directory does not exist at C:Workneon-workspacejhipster_app_2srcmainwebappbower_components
at Error (native)
at module.exports (C:Workneon-workspacejhipster_app_2node_modulesmain-bower-fileslibindex.js:76:17)
at Gulp.test (C:Workneon-workspacejhipster_app_2gulpinject.js:46:31)
at module.exports (C:Workneon-workspacejhipster_app_2node_modulesorchestratorlibrunTask.js:34:7)
at Gulp.Orchestrator._runTask (C:Workneon-workspacejhipster_app_2node_modulesorchestratorindex.js:273:3)
at Gulp.Orchestrator._runStep (C:Workneon-workspacejhipster_app_2node_modulesorchestratorindex.js:214:10)
at Gulp.Orchestrator.start (C:Workneon-workspacejhipster_app_2node_modulesorchestratorindex.js:134:8)
at runNextSet (C:Workneon-workspacejhipster_app_2node_modulesrun-sequenceindex.js:86:16)
at runSequence (C:Workneon-workspacejhipster_app_2node_modulesrun-sequenceindex.js:97:2)
at Gulp.
at module.exports (C:Workneon-workspacejhipster_app_2node_modulesorchestratorlibrunTask.js:34:7)
at Gulp.Orchestrator._runTask (C:Workneon-workspacejhipster_app_2node_modulesorchestratorindex.js:273:3)
at Gulp.Orchestrator._runStep (C:Workneon-workspacejhipster_app_2node_modulesorchestratorindex.js:214:10)
at Gulp.Orchestrator.start (C:Workneon-workspacejhipster_app_2node_modulesorchestratorindex.js:134:8)
at C:UsersprodAppDataRoamingnpmnode_modulesgulpbingulp.js:129:20
at _combinedTickCallback (internal/process/next_tick.js:67:7)
[00:27:11] Finished 'install' after 82 ms
Blank page, not the error page? With no Bower? That would be a major
issue!!!!
Can you send your logs when the app is generated? You should have a trace
at the end.
And can you do a "source view" of the blank page, if possible?? No idea why
don't have the error page.
For Kafka: one issue per ticket, or this will be a mess.
Le 14 nov. 2016 9:17 AM, "Krishna" [email protected] a Γ©crit :
Also, another issue is that if we enable kafka, it is forcing us to
validate the ZK/Broker endpoints, I thought jhipster brings up some
embedded kafka instance, isn't it?β
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jhipster/generator-jhipster/issues/4466#issuecomment-260273571,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATVo-oMr2fmFZswMxdWLSoW7E3h_KP8ks5q-BkUgaJpZM4KxC9X
.
Here you go:
`
<div class="footer" ng-cloak>
<p data-translate="footer">This is your footer</p>
</div>
</div>
<!-- Google Analytics: uncomment and change UA-XXXXX-X to be your site's ID.
<script>
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X');ga('send','pageview');
</script>-->
<!-- build:js app/vendor.js -->
<!-- bower:js -->
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/messageformat/messageformat.js"></script>
<script src="bower_components/json3/lib/json3.js"></script>
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-aria/angular-aria.js"></script>
<script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
<script src="bower_components/angular-cache-buster/angular-cache-buster.js"></script>
<script src="bower_components/angular-cookies/angular-cookies.js"></script>
<script src="bower_components/angular-dynamic-locale/src/tmhDynamicLocale.js"></script>
<script src="bower_components/ngstorage/ngStorage.js"></script>
<script src="bower_components/angular-loading-bar/build/loading-bar.js"></script>
<script src="bower_components/angular-resource/angular-resource.js"></script>
<script src="bower_components/angular-sanitize/angular-sanitize.js"></script>
<script src="bower_components/angular-translate/angular-translate.js"></script>
<script src="bower_components/angular-translate-interpolation-messageformat/angular-translate-interpolation-messageformat.js"></script>
<script src="bower_components/angular-translate-loader-partial/angular-translate-loader-partial.js"></script>
<script src="bower_components/angular-translate-storage-cookie/angular-translate-storage-cookie.js"></script>
<script src="bower_components/angular-ui-router/release/angular-ui-router.js"></script>
<script src="bower_components/bootstrap-ui-datetime-picker/dist/datetime-picker.js"></script>
<script src="bower_components/ng-file-upload/ng-file-upload.js"></script>
<script src="bower_components/ngInfiniteScroll/build/ng-infinite-scroll.js"></script>
<!-- endinject -->
<!-- endbuild -->
<!-- build:js app/app.js -->
<!-- inject:js -->
<script src="app/app.module.js"></script>
<script src="app/services/user/user.service.js"></script>
<script src="app/services/profiles/profile.service.js"></script>
<script src="app/services/profiles/page-ribbon.directive.js"></script>
<script src="app/services/auth/sessions.service.js"></script>
<script src="app/services/auth/register.service.js"></script>
<script src="app/services/auth/principal.service.js"></script>
<script src="app/services/auth/password-reset-init.service.js"></script>
<script src="app/services/auth/password-reset-finish.service.js"></script>
<script src="app/services/auth/password.service.js"></script>
<script src="app/services/auth/has-authority.directive.js"></script>
<script src="app/services/auth/has-any-authority.directive.js"></script>
<script src="app/services/auth/auth.session.service.js"></script>
<script src="app/services/auth/auth.service.js"></script>
<script src="app/services/auth/activate.service.js"></script>
<script src="app/services/auth/account.service.js"></script>
<script src="app/layouts/navbar/navbar.controller.js"></script>
<script src="app/layouts/navbar/active-menu.directive.js"></script>
<script src="app/layouts/navbar/active-link.directive.js"></script>
<script src="app/layouts/error/error.state.js"></script>
<script src="app/home/home.state.js"></script>
<script src="app/home/home.controller.js"></script>
<script src="app/entities/operation/operation-dialog.controller.js"></script>
<script src="app/entities/operation/operation-detail.controller.js"></script>
<script src="app/entities/operation/operation-delete-dialog.controller.js"></script>
<script src="app/entities/operation/operation.state.js"></script>
<script src="app/entities/operation/operation.service.js"></script>
<script src="app/entities/operation/operation.controller.js"></script>
<script src="app/entities/label/label-dialog.controller.js"></script>
<script src="app/entities/label/label-detail.controller.js"></script>
<script src="app/entities/label/label-delete-dialog.controller.js"></script>
<script src="app/entities/label/label.state.js"></script>
<script src="app/entities/label/label.service.js"></script>
<script src="app/entities/label/label.controller.js"></script>
<script src="app/entities/entity.state.js"></script>
<script src="app/entities/bank-account/bank-account-dialog.controller.js"></script>
<script src="app/entities/bank-account/bank-account-detail.controller.js"></script>
<script src="app/entities/bank-account/bank-account-delete-dialog.controller.js"></script>
<script src="app/entities/bank-account/bank-account.state.js"></script>
<script src="app/entities/bank-account/bank-account.service.js"></script>
<script src="app/entities/bank-account/bank-account.controller.js"></script>
<script src="app/components/util/truncate-words.filter.js"></script>
<script src="app/components/util/truncate-characters.filter.js"></script>
<script src="app/components/util/sort-by.directive.js"></script>
<script src="app/components/util/sort.directive.js"></script>
<script src="app/components/util/parse-links.service.js"></script>
<script src="app/components/util/pagination-util.service.js"></script>
<script src="app/components/util/jhi-item-count.directive.js"></script>
<script src="app/components/util/date-util.service.js"></script>
<script src="app/components/util/data-util.service.js"></script>
<script src="app/components/util/capitalize.filter.js"></script>
<script src="app/components/util/base64.service.js"></script>
<script src="app/components/login/login.service.js"></script>
<script src="app/components/login/login.controller.js"></script>
<script src="app/components/language/language.service.js"></script>
<script src="app/components/language/language.filter.js"></script>
<script src="app/components/language/language.controller.js"></script>
<script src="app/components/language/language.constants.js"></script>
<script src="app/components/form/show-validation.directive.js"></script>
<script src="app/components/form/pagination.constants.js"></script>
<script src="app/components/form/minbytes.directive.js"></script>
<script src="app/components/form/maxbytes.directive.js"></script>
<script src="app/components/alert/alert-error.directive.js"></script>
<script src="app/components/alert/alert.service.js"></script>
<script src="app/components/alert/alert.directive.js"></script>
<script src="app/blocks/interceptor/notification.interceptor.js"></script>
<script src="app/blocks/interceptor/errorhandler.interceptor.js"></script>
<script src="app/blocks/interceptor/auth-expired.interceptor.js"></script>
<script src="app/blocks/handlers/translation.handler.js"></script>
<script src="app/blocks/handlers/state.handler.js"></script>
<script src="app/blocks/config/uib-pagination.config.js"></script>
<script src="app/blocks/config/uib-pager.config.js"></script>
<script src="app/blocks/config/translation-storage.provider.js"></script>
<script src="app/blocks/config/translation.config.js"></script>
<script src="app/blocks/config/localstorage.config.js"></script>
<script src="app/blocks/config/http.config.js"></script>
<script src="app/blocks/config/compile.config.js"></script>
<script src="app/blocks/config/alert.config.js"></script>
<script src="app/app.state.js"></script>
<script src="app/app.constants.js"></script>
<script src="app/admin/user-management/user-management-dialog.controller.js"></script>
<script src="app/admin/user-management/user-management-detail.controller.js"></script>
<script src="app/admin/user-management/user-management-delete-dialog.controller.js"></script>
<script src="app/admin/user-management/user-management.state.js"></script>
<script src="app/admin/user-management/user-management.controller.js"></script>
<script src="app/admin/metrics/metrics.state.js"></script>
<script src="app/admin/metrics/metrics.service.js"></script>
<script src="app/admin/metrics/metrics.modal.controller.js"></script>
<script src="app/admin/metrics/metrics.controller.js"></script>
<script src="app/admin/logs/logs.state.js"></script>
<script src="app/admin/logs/logs.service.js"></script>
<script src="app/admin/logs/logs.controller.js"></script>
<script src="app/admin/health/health.state.js"></script>
<script src="app/admin/health/health.service.js"></script>
<script src="app/admin/health/health.modal.controller.js"></script>
<script src="app/admin/health/health.controller.js"></script>
<script src="app/admin/docs/docs.state.js"></script>
<script src="app/admin/configuration/configuration.state.js"></script>
<script src="app/admin/configuration/configuration.service.js"></script>
<script src="app/admin/configuration/configuration.controller.js"></script>
<script src="app/admin/audits/audits.state.js"></script>
<script src="app/admin/audits/audits.service.js"></script>
<script src="app/admin/audits/audits.controller.js"></script>
<script src="app/admin/admin.state.js"></script>
<script src="app/account/settings/settings.state.js"></script>
<script src="app/account/settings/settings.controller.js"></script>
<script src="app/account/sessions/sessions.state.js"></script>
<script src="app/account/sessions/sessions.controller.js"></script>
<script src="app/account/reset/request/reset.request.state.js"></script>
<script src="app/account/reset/request/reset.request.controller.js"></script>
<script src="app/account/reset/finish/reset.finish.state.js"></script>
<script src="app/account/reset/finish/reset.finish.controller.js"></script>
<script src="app/account/register/register.state.js"></script>
<script src="app/account/register/register.controller.js"></script>
<script src="app/account/password/password-strength-bar.directive.js"></script>
<script src="app/account/password/password.state.js"></script>
<script src="app/account/password/password.controller.js"></script>
<script src="app/account/activate/activate.state.js"></script>
<script src="app/account/activate/activate.controller.js"></script>
<script src="app/account/account.state.js"></script>
<!-- endinject -->
<!-- endbuild -->
`
ENOGIT git is not installed or not in the PATH
Are you sure git is installed on your system ?
Its installed but probably not in the path, you think git caused this problem with just this one folder?
@krishna81m : do you use this project https://github.com/jhipster/jhipster-sample-app.git ?
Or it's a fresh app you created ?
Update: fixed git path, did yo jhipster in a new folder and mvnw again and it worked, thanks so much guys.
http://localhost:8080/#/
@pascalgrimaud yes, tried that app too, it had the bowers folder/scripts but still did not come up either. This could not be relate to git :), as I check out using git. Will create a separate ticket for this.
I think there is an issue:
=> blank page
Then, I stopped the app
@jdubois : I wonder if it's related to some problems when you regenerate the project here https://github.com/jhipster/jhipster-sample-app/commits/master
The Travis build didn't passed https://travis-ci.org/jhipster/jhipster-sample-app/builds/171399501
To resolve this issue on the generated jhipster-sample-app:
Maybe the others generated projects are impacted too.
Thanks @pascalgrimaud I'm having a look
@pascalgrimaud in fact I'm going to regenerate everything with the current master, this shouldn't do much harm anyway
concerning the original issue: you have a big stack trace saying Error: Bower components directory does not exist at C:\Work\neon-workspace\jhipster_app_2\src\main\webapp\bower_components so of course it fails.
Then the page shouldn't be like that, I don't understand why you don't have the error page.
Closing this as it looks you solved it, still I don't understand what you did.
@pascalgrimaud in fact all samples fail since commit https://github.com/jhipster/generator-jhipster/commit/78b546331aef18612fc4cf9d14ddf320c4f1e761 from @dpalomar as now the "build" directory is excluded.
And this is used by various packages in bower_components, which makes they are not commited in Git -> when you clone the project, those files are missing.
I'm going to change this.
Nice ! Good catch Julien
Thanks @pascalgrimaud and @Julien for finding and fixing sample app empty page _as well_, let me give it a try.
Now, regarding the blank new project using generator, the page is up, but clicking entities does not do anything, just a small attempt to open something but stops right there.
So, I did yo jhipster --force --with-entities as discussed in https://jhipster.github.io/creating-an-app/ and then mvnw, application starts up fine, I can login as admin/admin but entities does not show anything, is this normal?
Of course you should have your entities generated, but this is of course another issue -> could you open up another ticket, with your full configuration?
Following the above steps for the sample-app, force remove, install again, the application _is working fine_, I can see entities menu come up properly, unlike the blank new project using generator which does not show entities - see above comment.
ngInfiniteScroll#1.3.0 srcmainwebappbower_componentsngInfiniteScroll
βββ angular#1.5.8
angular-loading-bar#0.9.0 srcmainwebappbower_componentsangular-loading-bar
βββ angular#1.5.8
@jdubois , ok will try before I give up :) as sample-app is working fine for now.
Hmm, any year later, I build it again for our hackathon, https://github.com/jhipster/jhipster-sample-app-ng2 successfully run java -jar *.war or mvn, and I still see a blank page.
`
$ java -jar *.war
??? ??? ??? ????????? ???????? ??????? ????????? ????????? ????????
??? ??? ??? ????????? ????????? ???????? ????????? ????????? ?????????
??? ????????? ??? ????????? ??????? ??? ??????? ?????????
??? ??? ????????? ??? ???????? ??????? ??? ??????? ????????
????????? ??? ??? ????????? ??? ???????? ??? ????????? ??? ????
??????? ??? ??? ????????? ??? ??????? ??? ????????? ??? ???
:: JHipster ? :: Running Spring Boot 1.5.2.RELEASE ::
:: http://jhipster.github.io ::
2017-04-20 19:33:12.906 INFO 904 --- [ main] i.g.j.s.JhipsterSampleApplicationNg2App : Starting JhipsterSampleApplicationNg2App v0.0.1-SNAPSHOT on -LT1 with PID 904 (C:Workjava-workspaceFUNjhipster-sample-app-ng2targetjhipster-sample-application-ng-2-0.0.1-SNAPSHOT.war started by in C:Workjava-workspaceFUNjhipster-sample-app-ng2target)
2017-04-20 19:33:12.913 DEBUG 904 --- [ main] i.g.j.s.JhipsterSampleApplicationNg2App : Running with Spring Boot v1.5.2.RELEASE, Spring v4.3.7.RELEASE
2017-04-20 19:33:12.913 INFO 904 --- [ main] i.g.j.s.JhipsterSampleApplicationNg2App : The following profiles are active: swagger,dev
2017-04-20 19:33:13.259 DEBUG 904 --- [kground-preinit] org.jboss.logging : Logging Provider: org.jboss.logging.Slf4jLoggerProvider found via system property
2017-04-20 19:33:18.014 DEBUG 904 --- [ main] i.g.j.sample.config.AsyncConfiguration : Creating Async Task Executor
2017-04-20 19:33:19.204 DEBUG 904 --- [ main] c.e.c.E.g.jhipster.sample.domain.User : Initialize successful.
2017-04-20 19:33:19.223 DEBUG 904 --- [ main] c.e.c.E.g.j.sample.domain.Authority : Initialize successful.
2017-04-20 19:33:19.226 DEBUG 904 --- [ main] c.e.c.E.g.j.s.domain.User.authorities : Initialize successful.
2017-04-20 19:33:19.229 DEBUG 904 --- [ main] c.e.c.E.g.j.s.domain.PersistentToken : Initialize successful.
2017-04-20 19:33:19.237 DEBUG 904 --- [ main] c.e.c.E.g.j.s.d.User.persistentTokens : Initialize successful.
2017-04-20 19:33:19.240 DEBUG 904 --- [ main] c.e.c.E.g.j.sample.domain.BankAccount : Initialize successful.
2017-04-20 19:33:19.241 DEBUG 904 --- [ main] c.e.c.E.g.j.s.d.BankAccount.operations : Initialize successful.
2017-04-20 19:33:19.244 DEBUG 904 --- [ main] c.e.c.E.g.jhipster.sample.domain.Label : Initialize successful.
2017-04-20 19:33:19.246 DEBUG 904 --- [ main] c.e.c.E.g.j.s.domain.Label.operations : Initialize successful.
2017-04-20 19:33:19.249 DEBUG 904 --- [ main] c.e.c.E.g.j.sample.domain.Operation : Initialize successful.
2017-04-20 19:33:19.251 DEBUG 904 --- [ main] c.e.c.E.g.j.s.domain.Operation.labels : Initialize successful.
2017-04-20 19:33:19.507 DEBUG 904 --- [ main] i.g.j.s.config.MetricsConfiguration : Registering JVM gauges
2017-04-20 19:33:19.545 DEBUG 904 --- [ main] i.g.j.s.config.MetricsConfiguration : Monitoring the datasource
2017-04-20 19:33:19.545 DEBUG 904 --- [ main] i.g.j.s.config.MetricsConfiguration : Initializing Metrics JMX reporting
2017-04-20 19:33:20.813 DEBUG 904 --- [ main] i.g.j.sample.config.WebConfigurer : Registering CORS filter
2017-04-20 19:33:21.019 INFO 904 --- [ main] i.g.j.sample.config.WebConfigurer : Web application configuration, using profiles: swagger
2017-04-20 19:33:21.019 DEBUG 904 --- [ main] i.g.j.sample.config.WebConfigurer : Initializing Metrics registries
2017-04-20 19:33:21.027 DEBUG 904 --- [ main] i.g.j.sample.config.WebConfigurer : Registering Metrics Filter
2017-04-20 19:33:21.027 DEBUG 904 --- [ main] i.g.j.sample.config.WebConfigurer : Registering Metrics Servlet
2017-04-20 19:33:21.038 DEBUG 904 --- [ main] i.g.j.sample.config.WebConfigurer : Initialize H2 console
2017-04-20 19:33:21.039 INFO 904 --- [ main] i.g.j.sample.config.WebConfigurer : Web application fully configured
2017-04-20 19:33:25.487 DEBUG 904 --- [ main] i.g.j.s.config.DatabaseConfiguration : Configuring Liquibase
2017-04-20 19:33:25.502 WARN 904 --- [ng-2-Executor-1] i.g.j.c.liquibase.AsyncSpringLiquibase : Starting Liquibase asynchronously, your database might not be ready at startup!
2017-04-20 19:33:26.811 DEBUG 904 --- [ng-2-Executor-1] i.g.j.c.liquibase.AsyncSpringLiquibase : Liquibase has updated your database in 1308 ms
2017-04-20 19:33:36.110 DEBUG 904 --- [ main] i.g.j.c.apidoc.SwaggerConfiguration : Starting Swagger
2017-04-20 19:33:36.128 DEBUG 904 --- [ main] i.g.j.c.apidoc.SwaggerConfiguration : Started Swagger in 18 ms
2017-04-20 19:33:37.675 INFO 904 --- [ main] i.g.j.s.JhipsterSampleApplicationNg2App : Started JhipsterSampleApplicationNg2App in 26.064 seconds (JVM running for 26.831)
Application 'jhipsterSampleApplicationNG2' is running! Access URLs:
Local: http://localhost:8080
External: http://*:8080
`
@krishna81m I just cloned that repository, ran mvn and got a blank page - as expected, you need to install the dependencies which the README mentions. Once I ran yarn or npm install and started mvn, the app appears as expected. Please read the docs for more information https://jhipster.github.io/development/
The AngularJS issue from a year ago has now been fixed (https://github.com/jhipster/generator-jhipster/commit/84650e68113ba4566a8321b2e5c272013f9ab786), we committed bower_components by default and some dependencies were incorrectly removed by .gitignore. In Angular 2+, bower is gone so either sample app should work for you
If you have a new issue, please open a new ticket with the template filled out.
if anyone is still a bit old school like me and uses:
./mvnw
after doing a clean you will get a blank page so in that case too you must run
yarn start
before ./mvnw is working again.
This is well documented here and it shows alternatives.
Anyway this old issue is about angular 1 :smile:
thanks for adding the link. when i did a google search i ended up here. for all others who will do the same now will go to the right place!
Most helpful comment
if anyone is still a bit old school like me and uses:
after doing a clean you will get a blank page so in that case too you must run
before ./mvnw is working again.