2 sinat 37223019 sinat_37223019 于 2017.01.01 10:35 提问

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
devmiao   Ds   Rxr 2017.01.03 18:43
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!