java.lang.ClassNotFoundException: org.apache.commons.collections.map.ListOrderedMap

1、错误描述

java.lang.ClassNotFoundException: org.apache.commons.collections.map.ListOrderedMap

2、错误原因

在Maven项目中,点击查询出现这个错误;由于在查询过程用到json转换,到时缺少jar

3、解决办法

在pom.xml插入:

<dependency>  
            <groupId>commons-lang</groupId>  
            <artifactId>commons-lang</artifactId>  
            <version>2.6</version>  
        </dependency>  
           
        <dependency>  
            <groupId>commons-logging</groupId>  
            <artifactId>commons-logging</artifactId>  
            <version>1.2</version>  
        </dependency>  
           
        <dependency>  
            <groupId>commons-beanutils</groupId>  
            <artifactId>commons-beanutils</artifactId>  
            <version>1.9.3</version>  
        </dependency>  
           
        <dependency>  
            <groupId>commons-collections</groupId>  
            <artifactId>commons-collections</artifactId>  
            <version>3.2.2</version>  
        </dependency>

猜你喜欢

转载自blog.csdn.net/qq_36411874/article/details/100137191