sinat_37223019 2017-01-01 02:35 采纳率: 0%
浏览 919

grails创建一个中文APP出现问题

grails创建一个新的中文app时出现问题,运行一遍出现下面的结果,网址出不来,出现了一个Fatal Error,代码如下:
Microsoft Windows 版本 10.0.14393 2016 Microsoft Corporation。保留所有权利。

C:\Users\PC>d:

D:>cd grails

D:\Grails>grails create-app 爸爸去哪儿

Welcome to Grails 1.0.2 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: D:\Grails

Base Directory: D:\Grails
Note: No plugin scripts found
Running script D:\Grails\scripts\CreateApp.groovy
Environment set to development
[mkdir] Created dir: D:\Grails\爸爸去哪儿\src
[mkdir] Created dir: D:\Grails\爸爸去哪儿\src\java
[mkdir] Created dir: D:\Grails\爸爸去哪儿\src\groovy
[mkdir] Created dir: D:\Grails\爸爸去哪儿\grails-app
[mkdir] Created dir: D:\Grails\爸爸去哪儿\grails-app\controllers
[mkdir] Created dir: D:\Grails\爸爸去哪儿\grails-app\services
[mkdir] Created dir: D:\Grails\爸爸去哪儿\grails-app\domain
[mkdir] Created dir: D:\Grails\爸爸去哪儿\grails-app\taglib
[mkdir] Created dir: D:\Grails\爸爸去哪儿\grails-app\utils
[mkdir] Created dir: D:\Grails\爸爸去哪儿\grails-app\views
[mkdir] Created dir: D:\Grails\爸爸去哪儿\grails-app\views\layouts
[mkdir] Created dir: D:\Grails\爸爸去哪儿\grails-app\i18n
[mkdir] Created dir: D:\Grails\爸爸去哪儿\grails-app\conf
[mkdir] Created dir: D:\Grails\爸爸去哪儿\test
[mkdir] Created dir: D:\Grails\爸爸去哪儿\test\unit
[mkdir] Created dir: D:\Grails\爸爸去哪儿\test\integration
[mkdir] Created dir: D:\Grails\爸爸去哪儿\scripts
[mkdir] Created dir: D:\Grails\爸爸去哪儿\web-app
[mkdir] Created dir: D:\Grails\爸爸去哪儿\web-app\js
[mkdir] Created dir: D:\Grails\爸爸去哪儿\web-app\css
[mkdir] Created dir: D:\Grails\爸爸去哪儿\web-app\images
[mkdir] Created dir: D:\Grails\爸爸去哪儿\web-app\META-INF
[mkdir] Created dir: D:\Grails\爸爸去哪儿\lib
[mkdir] Created dir: D:\Grails\爸爸去哪儿\grails-app\conf\spring
[mkdir] Created dir: D:\Grails\爸爸去哪儿\grails-app\conf\hibernate
[propertyfile] Creating new property file: D:\Grails\爸爸去哪儿\application.properties
[copy] Copying 2 files to D:\Grails\爸爸去哪儿
[copy] Copying 2 files to D:\Grails\爸爸去哪儿\web-app\WEB-INF
[copy] Copying 5 files to D:\Grails\爸爸去哪儿\web-app\WEB-INF\tld
[copy] Copying 87 files to D:\Grails\爸爸去哪儿\web-app
[copy] Copying 17 files to D:\Grails\爸爸去哪儿\grails-app
[copy] Copying 1 file to D:\Grails\爸爸去哪儿
[copy] Copying 1 file to D:\Grails\爸爸去哪儿
[copy] Copying 1 file to D:\Grails\爸爸去哪儿
[propertyfile] Updating property file: D:\Grails\爸爸去哪儿\application.properties
Created Grails Application at D:\Grails/爸爸去哪儿
D:\Grails>cd 爸爸去哪儿

D:\Grails\爸爸去哪儿>grails run-app

Welcome to Grails 1.0.2 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: D:\Grails

Base Directory: D:\Grails\爸爸去哪儿
Note: No plugin scripts found
Running script D:\Grails\scripts\RunApp.groovy
Environment set to development
[mkdir] Created dir: C:\Users\PC.grails\1.0.2\projects\爸爸去哪儿\classes
[groovyc] Compiling 6 source files to C:\Users\PC.grails\1.0.2\projects\爸爸去哪儿\classes
[mkdir] Created dir: C:\Users\PC.grails\1.0.2\projects\爸爸去哪儿\resources\grails-app\i18n
[native2ascii] Converting 10 files from D:\Grails\爸爸去哪儿\grails-app\i18n to C:\Users\PC.grails\1.0.2\projects\爸爸去哪儿\resources\grails-app\i18n
[copy] Copying 1 file to C:\Users\PC.grails\1.0.2\projects\爸爸去哪儿\classes
[copy] Copying 1 file to C:\Users\PC.grails\1.0.2\projects\爸爸去哪儿\resources
[copy] Copying 1 file to C:\Users\PC.grails\1.0.2\projects\爸爸去哪儿
[Fatal Error] :6:19: Invalid byte 1 of 1-byte UTF-8 sequence.
XML parsing error configuring web.xml: Invalid byte 1 of 1-byte UTF-8 sequence.
D:\Grails\爸爸去哪儿>grails run-app

Welcome to Grails 1.0.2 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: D:\Grails

Base Directory: D:\Grails\爸爸去哪儿
Note: No plugin scripts found
Running script D:\Grails\scripts\RunApp.groovy
Environment set to development
[groovyc] Compiling 1 source file to C:\Users\PC.grails\1.0.2\projects\爸爸去哪儿\classes
[Fatal Error] :6:19: Invalid byte 1 of 1-byte UTF-8 sequence.
XML parsing error configuring web.xml: Invalid byte 1 of 1-byte UTF-8 sequence.
D:\Grails\爸爸去哪儿>

  • 写回答

1条回答

  • devmiao 2017-01-03 10:43
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 MATLAB动图的问题
  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名