解决方案 »

  1.   

    应该是 asList(new String[]{"平","老地方","老明"}):
      

  2.   

    /**
         * Stores a value in the current ActionContext. The value can be looked up using the key.
         *
         * @param key   the key of the value.
         * @param value the value to be stored.
         */
        public void put(String key, Object value) {
            context.put(key, value);
        }
      

  3.   

    是不是jdk的版本问题
    你出错的 asList()方法  提示  参数类型应该为  数组
    下面的  正常的 asList()方法  是一个可变长的参数    如:List<String> java.util.Arrays.asList(String... a)