系统默认的变量JDK的API中java.lang.System类中有说明,楼主这个是自定义的

解决方案 »

  1.   

    那就没有/**
         * Gets the system property indicated by the specified key.
         * <p>
         * First, if there is a security manager, its
         * <code>checkPropertyAccess</code> method is called with the key as
         * its argument. This may result in a SecurityException.
         * <p>
         * If there is no current set of system properties, a set of system
         * properties is first created and initialized in the same manner as
         * for the <code>getProperties</code> method.
         *
         * @param      key   the name of the system property.
         * @return     the string value of the system property,
         *             or <code>null</code> if there is no property with that key.
         *
         * @exception  SecurityException  if a security manager exists and its
         *             <code>checkPropertyAccess</code> method doesn't allow
         *              access to the specified system property.
         * @exception  NullPointerException if <code>key</code> is
         *             <code>null</code>.
         * @exception  IllegalArgumentException if <code>key</code> is empty.
         * @see        #setProperty
         * @see        java.lang.SecurityException
         * @see        java.lang.SecurityManager#checkPropertyAccess(java.lang.String)
         * @see        java.lang.System#getProperties()
         */
        public static String getProperty(String key) {
    checkKey(key);
    SecurityManager sm = getSecurityManager();
            if (sm != null) {
        sm.checkPropertyAccess(key);
    }
      

  2.   

    在哪定义的那是你自己项目里面有System.setProperty("pmIndex")
      

  3.   

    在哪定义的那是你自己项目里面有System.setProperty("pmIndex")我是接手的别人的项目啊  在项目里哪里看这个值啊
      

  4.   

    eclipse里ctrl-h 找到file serach,搜索pmIndex,搜索类型*.java,搜完后一个一个找
      

  5.   

    谢谢 到底没找到啊    System.setProperty("pmIndex")   这里的这个变量是定义在一个配置文件里还是?????