No exception of type ConfigurationException can be thrown; an exception type must be a subclass of Throwable 问题的解决办法:版本的问题。