我无法使用最新的jhipster版本3.0运行jhipster应用程序

我无法使用最新的jhipster版本3.0运行jhipster应用程序,jhipster,Jhipster,我正在使用jhipster 3.0的新版本,我创建了一个jhipster应用程序,当我运行我的应用程序时,我没有出现错误,但我的浏览器上没有显示任何东西,我无法理解这个问题 我将应用程序导入intellij并从intellij运行它。 以下是我在intellij运行控制台中得到的信息: 2016-03-25 01:39:33.675 DEBUG 3220 --- [nio-8080-exec-1]c.lyance.test.aop.logging.LoggingAspect : Enter:

我正在使用jhipster 3.0的新版本,我创建了一个jhipster应用程序,当我运行我的应用程序时,我没有出现错误,但我的浏览器上没有显示任何东西,我无法理解这个问题

我将应用程序导入intellij并从intellij运行它。 以下是我在intellij运行控制台中得到的信息:

 2016-03-25 01:39:33.675 DEBUG 3220 --- [nio-8080-exec-1]c.lyance.test.aop.logging.LoggingAspect : Enter: org.springframework.boot.actuate.audit.AuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=Fri Mar 25 01:39:33 GMT-08:00 2016, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]] 2016-03-25 01:39:33.736 DEBUG 3220 --- [nio-8080-exec-1] c.lyance.test.aop.logging.LoggingAspect : Exit: org.springframework.boot.actuate.audit.AuditEventRepository.add() with result = null 2016-03-25 01:39:34.094 DEBUG 3220 --- [nio-8080-exec-1] c.l.t.s.Http401UnauthorizedEntryPoint : Pre-authenticated entry point called. Rejecting access 2016-03-25 01:39:39.922 DEBUG 3220 --- [nio-8080-exec-5] c.lyance.test.aop.logging.LoggingAspect : Enter: org.springframework.boot.actuate.audit.AuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=Fri Mar 25 01:39:39 GMT-08:00 2016, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]]2016-03-25 01:39:39.923 DEBUG 3220 --- [nio-8080-exec-5] c.lyance.test.aop.logging.LoggingAspect : Exit:org.springframework.boot.actuate.audit.AuditEventRepository.add() with result = null 2016-03-25 01:39:39.923 DEBUG 3220 --- [nio-8080-exec-5] c.l.t.s.Http401UnauthorizedEntryPoint : Pre-authenticated entry point called. Rejecting access 2016-03-25 02:03:14.549 DEBUG 3220 --- [nio-8080-exec-6] c.lyance.test.aop.logging.LoggingAspect : Enter: org.springframework.boot.actuate.audit.AuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=Fri Mar 25 02:03:11 GMT-08:00 2016, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]]2016-03-25 02:03:15.076 DEBUG 3220 --- [nio-8080-exec-6] c.lyance.test.aop.logging.LoggingAspect : Exit: org.springframework.boot.actuate.audit.AuditEventRepository.add() with result = null
2016-03-25 02:03:15.620 DEBUG 3220 --- [nio-8080-exec-6] c.l.t.s.Http401UnauthorizedEntryPoint : Pre-authenticated entry point called. Rejecting access
2016-03-25 02:03:21.547 DEBUG 3220 --- [nio-8080-exec-9] c.lyance.test.aop.logging.LoggingAspect : Enter: org.springframework.boot.actuate.audit.AuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=Fri Mar 25 02:03:21 GMT-08:00 2016, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]]
2016-03-25 02:03:21.548 DEBUG 3220 --- [nio-8080-exec-9] c.lyance.test.aop.logging.LoggingAspect : Exit: org.springframework.boot.actuate.audit.AuditEventRepository.add() with result = null
2016-03-25 02:03:21.549 DEBUG 3220 --- [nio-8080-exec-9] c.l.t.s.Http401UnauthorizedEntryPoint : Pre-authenticated entry point called. Rejecting access
2016-03-25 02:03:31.991 DEBUG 3220 --- [nio-8080-exec-6] c.lyance.test.aop.logging.LoggingAspect : Enter: org.springframework.boot.actuate.audit.AuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=Fri Mar 25 02:03:31 GMT-08:00 2016, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]]
2016-03-25 02:03:31.992 DEBUG 3220 --- [nio-8080-exec-6] c.lyance.test.aop.logging.LoggingAspect : Exit: org.springframework.boot.actuate.audit.AuditEventRepository.add() with result = null
2016-03-25 02:03:31.992 DEBUG 3220 --- [nio-8080-exec-6] c.l.t.s.Http401UnauthorizedEntryPoint : Pre-authenticated entry point called. Rejecting access
2016-03-25 02:03:39.009 DEBUG 3220 --- [nio-8080-exec-2] c.lyance.test.aop.logging.LoggingAspect : Enter: org.springframework.boot.actuate.audit.AuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=Fri Mar 25 02:03:39 GMT-08:00 2016, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]]
2016-03-25 02:03:39.009 DEBUG 3220 --- [nio-8080-exec-2] c.lyance.test.aop.logging.LoggingAspect : Exit: org.springframework.boot.actuate.audit.AuditEventRepository.add() with result = null
2016-03-25 02:03:39.010 DEBUG 3220 --- [nio-8080-exec-2] c.l.t.s.Http401UnauthorizedEntryPoint : Pre-authenticated entry point called. Rejecting access
2016-03-25 02:03:43.700 DEBUG 3220 --- [nio-8080-exec-1] c.lyance.test.aop.logging.LoggingAspect : Enter: org.springframework.boot.actuate.audit.AuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=Fri Mar 25 02:03:43 GMT-08:00 2016, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]]
2016-03-25 02:03:43.701 DEBUG 3220 --- [nio-8080-exec-1] c.lyance.test.aop.logging.LoggingAspect : Exit: org.springframework.boot.actuate.audit.AuditEventRepository.add() with result = null
2016-03-25 02:03:43.701 DEBUG 3220 --- [nio-8080-exec-1] c.l.t.s.Http401UnauthorizedEntryPoint : Pre-authenticated entry point called. Rejecting access
2016-03-25 02:03:48.072 DEBUG 3220 --- [nio-8080-exec-9] c.lyance.test.aop.logging.LoggingAspect : Enter: org.springframework.boot.actuate.audit.AuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=Fri Mar 25 02:03:48 GMT-08:00 2016, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]]
2016-03-25 02:03:48.072 DEBUG 3220 --- [nio-8080-exec-9] c.lyance.test.aop.logging.LoggingAspect : Exit: org.springframework.boot.actuate.audit.AuditEventRepository.add() with result = null
2016-03-25 02:03:48.073 DEBUG 3220 --- [nio-8080-exec-9] c.l.t.s.Http401UnauthorizedEntryPoint : Pre-authenticated entry point called. Rejecting access
2016-03-25 02:03:51.393 DEBUG 3220 --- [nio-8080-exec-5] c.lyance.test.aop.logging.LoggingAspect : Enter: org.springframework.boot.actuate.audit.AuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=Fri Mar 25 02:03:51 GMT-08:00 2016, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]]
2016-03-25 02:03:51.393 DEBUG 3220 --- [nio-8080-exec-5] c.lyance.test.aop.logging.LoggingAspect : Exit: org.springframework.boot.actuate.audit.AuditEventRepository.add() with result = null
2016-03-25 02:03:51.421 DEBUG 3220 --- [nio-8080-exec-5] c.l.t.s.Http401UnauthorizedEntryPoint : Pre-authenticated entry point called. Rejecting access
2016-03-25 02:05:13.542 DEBUG 3220 --- [nio-8080-exec-7] c.lyance.test.aop.logging.LoggingAspect : Enter: org.springframework.boot.actuate.audit.AuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=Fri Mar 25 02:05:13 GMT-08:00 2016, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]]
2016-03-25 02:05:13.543 DEBUG 3220 --- [nio-8080-exec-7] c.lyance.test.aop.logging.LoggingAspect : Exit: org.springframework.boot.actuate.audit.AuditEventRepository.add() with result = null
2016-03-25 02:05:13.544 DEBUG 3220 --- [nio-8080-exec-7] c.l.t.s.Http401UnauthorizedEntryPoint : Pre-authenticated entry point called. Rejecting access
2016-03-25 02:05:19.580 DEBUG 3220 --- [nio-8080-exec-1] c.lyance.test.aop.logging.LoggingAspect : Enter: org.springframework.boot.actuate.audit.AuditEventRepository.add() with argument[s] = [AuditEvent [timestamp=Fri Mar 25 02:05:19 GMT-08:00 2016, principal=anonymousUser, type=AUTHORIZATION_FAILURE, data={type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]]
2016-03-25 02:05:19.581 DEBUG 3220 --- [nio-8080-exec-1] c.lyance.test.aop.logging.LoggingAspect : Exit: org.springframework.boot.actuate.audit.AuditEventRepository.add() with result = null
2016-03-25 02:05:19.582 DEBUG 3220 --- [nio-8080-exec-1] c.l.t.s.Http401UnauthorizedEntryPoint : Pre-authenticated entry point called. Rejecting access
以下是
.yo rc.json
文件的代码:

{
  "generator-jhipster": {
"jhipsterVersion": "3.0.0",
"baseName": "test2",
"packageName": "com.lyance.test",
"packageFolder": "com/lyance/test",
"serverPort": "8080",
"authenticationType": "oauth2",
"hibernateCache": "ehcache",
"clusteredHttpSession": "no",
"websocket": "spring-websocket",
"databaseType": "sql",
"devDatabaseType": "postgresql",
"prodDatabaseType": "postgresql",
"searchEngine": "no",
"buildTool": "maven",
"useSass": true,
"applicationType": "monolith",
"testFrameworks": [
  "gatling"
],
"enableTranslation": true,
"nativeLanguage": "fr",
"languages": [
  "fr"
]
  }
}
npm安装和bower安装:

npm WARN optional Skipping failed optional dependency / chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture : fsevents@1.0.9

从您的
.yo rc.json
文件中,我可以看到您使用的是SASS,很可能没有生成CSS,请尝试运行
gulp SASS


也可以为您的DEV工作流,您应该考虑运行doc和GULP,如DOC中所解释的(使用java服务器并一起损坏):

< P>你好@ CouChutto和@ GA-L L MalZouou. 最近,我也不得不面对chouchato的错误。我花了相当长的时间才找到解决办法。错误对我来说毫无意义,我做了(许多)尝试和错误之类的步骤,然后问题就不再出现了:

净现值=3.8.9 节点=5.9.0

1) 更新NPM
2) 将所有npm软件包更新为LTS版本
3) 也更新yoeman软件包(现在是1.8.1)
4) 遵循@gaël-marziou的建议:删除目录节点_模块/和bower_组件/
5)我必须运行<代码> NPM Reale重新编译SAS
的包C++ 6) 运行
npm安装和bower安装


就是这样。现在一切都很顺利。

由于没有像往常一样提供详细信息,所以被否决。请学习如何在jhipster上寻求帮助,因为我已经向您询问了前面的问题。浏览器控制台出错,.yo-rc.json文件,你是如何运行应用程序的(仅mvn或mvn+gulp),npm安装或bower安装出错?我将jhipster项目导入intellij,然后运行它时没有任何编译错误,但每次我将应用程序()的url放入浏览器时,除了著名的“页脚”一词外,没有显示任何内容,我在intellij控制台中得到了上面的代码。再次提供我在上面的评论中询问的内容。很抱歉@GaëlMarziou我编辑了我的问题,我希望现在更清楚我试着按照你说的做了,但仍然有同样的问题,我在浏览器控制台中遇到错误“加载资源失败:服务器响应状态为404(未找到)”对于:i18n/angular-locale_en.js、i18n/en/global.json、i18n/en/home.json和api/account?cacheBuster=1459203067183,这与您在使用
.yo rc.json
文件之前从未提到过这些错误不同,它们之间有一点差异
“devDatabaseType”:“h2Memory”
,并且工作性能良好。因此,我怀疑您的环境中的node或postgres中存在错误。显示什么
节点--version
,您的操作系统是什么?你能像我一样编辑你的
.yo rc.json
文件并重新运行
yo jhipster
吗?我不认为问题出在postgres上,因为数据库生成正确(我的操作系统是windows 7,Node.js的版本是5.9.1)。好的,那么你没有使用我们推荐的Node的LTS版本。