ConfigurationException in Java?

后端 未结 3 1122
情深已故
情深已故 2020-12-15 04:53

Decided to use Apache\'s Common Configuration package to parse an XML File.

I decided to do a:

XMLConfiguration xmlConfig = new XMLConfiguration(file         


        
3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-15 05:13

    org.apache.commons.configuration.ConfigurationException extends org.apache.commons.lang.exception.NestableException.

    Do you have Commons Lang on your path also? If not, Eclipse will fail to resolve the ConfigurationException class, and you'll get that error.

提交回复
热议问题