Proper usage of Apache Commons Configuration

后端 未结 2 420
温柔的废话
温柔的废话 2020-12-28 17:47

My code is the following:

package org.minuteware.jgun;

import org.apache.commons.configuration.*;

class ConfigReader {
    public void getconfig() {
               


        
2条回答
  •  长发绾君心
    2020-12-28 18:30

    The core of Apache Commons Configuration has the following runtime dependencies:

    • Apache Commons Lang (version 2.2, 2.3, 2.4, 2.5 or 2.6)
    • Apache Commons Collections (version 3.1, 3.2 or 3.2.1)
    • Apache Commons Logging (version 1.0.4, 1.1 or 1.1.1)

    Put them in your classpath as well. Your particular problem is caused by a missing Lang dependency.

提交回复
热议问题