mvn 编码GBK的不可映射字符

[INFO] 57 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.731 s
[INFO] Finished at: 2016-09-09T11:44:53+08:00
[INFO] Final Memory: 11M/156M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project shiro-example-chapter
17-server: Compilation failure: Compilation failure:
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/AccessTokenController.java:[51,16] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/AccessTokenController.java:[61,17] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/AccessTokenController.java:[72,17] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/AccessTokenController.java:[72,32] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/AuthorizeController.java:[59,16] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/AuthorizeController.java:[80,22] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/AuthorizeController.java:[92,22] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/AuthorizeController.java:[93,31] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/AuthorizeController.java:[111,35] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/se
rvice/UserService.java:[35,21] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/Co
nstants.java:[11,104] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/Co
nstants.java:[11,61] 未结束的字符串文字
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[40,58] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[42,88] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[43,43] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[43,35] 需要';'
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[44,65] 需要';'
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[45,26] 需要';'
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[51,45] 需要';'
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[51,76] 需要';'
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[56,46] 需要';'
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[56,77] 需要';'
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[61,27] 需要';'
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[61,58] 需要';'
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[65,5] 非法的表达式开始
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[65,12] 非法的表达式开始
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[65,48] 需要';'
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[69,5] 非法的表达式开始
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[69,12] 非法的表达式开始
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[69,49] 需要';'
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[73,5] 非法的表达式开始
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[73,12] 非法的表达式开始
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[73,30] 需要';'
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/re
alm/UserRealm.java:[78,2] 解析时已到达文件结尾
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/en
tity/User.java:[12,36] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/se
rvice/UserServiceImpl.java:[67,21] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/LoginController.java:[24,26] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/LoginController.java:[26,26] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/LoginController.java:[28,29] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/LoginController.java:[28,21] 未结束的字符串文字
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/spring/Sprin
gUtils.java:[15,84] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/spring/Sprin
gUtils.java:[25,24] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/spring/Sprin
gUtils.java:[25,46] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/spring/Sprin
gUtils.java:[34,31] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/spring/Sprin
gUtils.java:[47,26] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/spring/Sprin
gUtils.java:[57,47] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/spring/Sprin
gUtils.java:[57,59] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/spring/Sprin
gUtils.java:[57,98] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/spring/Sprin
gUtils.java:[57,134] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/spring/Sprin
gUtils.java:[69,32] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/UserInfoController.java:[47,27] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/UserInfoController.java:[47,47] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/UserInfoController.java:[47,53] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/UserInfoController.java:[57,22] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/UserInfoController.java:[60,16] 编码GBK的不可映射字符
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/controller/UserInfoController.java:[48,25] 非法的表达式开始
[ERROR] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/we
b/exception/DefaultExceptionHandler.java:[21,27] 编码GBK的不可映射字符
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

E:\work_new\wk_as\oauth\shiro-example-master\shiro-example-chapter17-server>mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building shiro-example-chapter17-server 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ shiro-example-chapter17-server ---
[INFO] Deleting E:\work_new\wk_as\oauth\shiro-example-master\shiro-example-chapter17-server\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ shiro-example-chapter17-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ shiro-example-chapter17-server ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to E:\work_new\wk_as\oauth\shiro-example-master\shiro-example-chapter17-server\target\classes
[WARNING] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/
dao/ClientDaoImpl.java: 某些输入文件使用了未经检查或不安全的操作。
[WARNING] /E:/work_new/wk_as/oauth/shiro-example-master/shiro-example-chapter17-server/src/main/java/com/github/zhangkaitao/shiro/chapter17/
dao/ClientDaoImpl.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ shiro-example-chapter17-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\work_new\wk_as\oauth\shiro-example-master\shiro-example-chapter17-server\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ shiro-example-chapter17-server ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ shiro-example-chapter17-server ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-war-plugin:2.2:war (default-war) @ shiro-example-chapter17-server ---
[INFO] Packaging webapp
[INFO] Assembling webapp [shiro-example-chapter17-server] in [E:\work_new\wk_as\oauth\shiro-example-master\shiro-example-chapter17-server\ta
rget\chapter17-server]
[INFO] Processing war project
[INFO] Copying webapp resources [E:\work_new\wk_as\oauth\shiro-example-master\shiro-example-chapter17-server\src\main\webapp]
[INFO] Webapp assembled in [2576 msecs]
[INFO] Building war: E:\work_new\wk_as\oauth\shiro-example-master\shiro-example-chapter17-server\target\chapter17-server.war
[INFO] WEB-INF\web.xml already added, skipping
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ shiro-example-chapter17-server ---
[INFO] Installing E:\work_new\wk_as\oauth\shiro-example-master\shiro-example-chapter17-server\target\chapter17-server.war to H:\work\reposit
ory\maven\com\github\zhangkaitao\shiro-example-chapter17-server\1.0-SNAPSHOT\shiro-example-chapter17-server-1.0-SNAPSHOT.war
[INFO] Installing E:\work_new\wk_as\oauth\shiro-example-master\shiro-example-chapter17-server\pom.xml to H:\work\repository\maven\com\github
\zhangkaitao\shiro-example-chapter17-server\1.0-SNAPSHOT\shiro-example-chapter17-server-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.223 s
[INFO] Finished at: 2016-09-09T12:27:10+08:00
[INFO] Final Memory: 21M/229M
[INFO] ------------------------------------------------------------------------

E:\work_new\wk_as\oauth\shiro-example-master\shiro-example-chapter17-server>


<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <parent>
        <artifactId>shiro-example</artifactId>
        <groupId>com.github.zhangkaitao</groupId>
        <version>1.0-SNAPSHOT</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>shiro-example-chapter17-server</artifactId>
    <packaging>war</packaging>
    <name>shiro-example-chapter17-server</name>
    <url>http://maven.apache.org</url>
    
    <properties>  
       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>  
    </properties> 
     
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>commons-collections</groupId>
            <artifactId>commons-collections</artifactId>
            <version>3.2.1</version>
        </dependency>

        <dependency>
            <groupId>org.apache.oltu.oauth2</groupId>
            <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
            <version>0.31</version>
        </dependency>

        <dependency>
            <groupId>org.apache.oltu.oauth2</groupId>
            <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
            <version>0.31</version>
        </dependency>


        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>3.0.1</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.servlet.jsp</groupId>
            <artifactId>jsp-api</artifactId>
            <version>2.2</version>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jstl</artifactId>
            <version>1.2</version>
        </dependency>


        <dependency>
            <groupId>org.apache.shiro</groupId>
            <artifactId>shiro-core</artifactId>
            <version>1.2.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.shiro</groupId>
            <artifactId>shiro-ehcache</artifactId>
            <version>1.2.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.shiro</groupId>
            <artifactId>shiro-web</artifactId>
            <version>1.2.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.shiro</groupId>
            <artifactId>shiro-quartz</artifactId>
            <version>1.2.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.shiro</groupId>
            <artifactId>shiro-spring</artifactId>
            <version>1.2.2</version>
        </dependency>


        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>5.1.25</version>
        </dependency>
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>druid</artifactId>
            <version>0.2.23</version>
        </dependency>


        <!-- aspectj相关jar包-->
        <dependency>
            <groupId>org.aspectj</groupId>
            <artifactId>aspectjrt</artifactId>
            <version>1.7.4</version>
        </dependency>
        <dependency>
            <groupId>org.aspectj</groupId>
            <artifactId>aspectjweaver</artifactId>
            <version>1.7.4</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context-support</artifactId>
            <version>4.0.0.RELEASE</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-jdbc</artifactId>
            <version>4.0.0.RELEASE</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-tx</artifactId>
            <version>4.0.0.RELEASE</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-webmvc</artifactId>
            <version>4.0.0.RELEASE</version>
        </dependency>

        <!--jackson -->
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
            <version>2.2.3</version>
        </dependency>

    </dependencies>
    <build>
        <finalName>chapter17-server</finalName>
        <plugins>
            <plugin>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>jetty-maven-plugin</artifactId>
                <version>8.1.8.v20121106</version>
                <configuration>
                    <webAppConfig>
                        <contextPath>/${project.build.finalName}</contextPath>
                    </webAppConfig>
                </configuration>
            </plugin>


            <plugin>
                <groupId>org.apache.tomcat.maven</groupId>
                <artifactId>tomcat7-maven-plugin</artifactId>
                <version>2.2</version>
                <configuration>
                    <path>/${project.build.finalName}</path>
                </configuration>

            </plugin>
        </plugins>


    </build>
</project>


©️2020 CSDN 皮肤主题: 大白 设计师: CSDN官方博客 返回首页
实付0元
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值