java.lang.ClassNotFoundException: org.apache.commons.collections.map.ListOrderedMap Dear 丶 2024-04-17 17:38 15阅读 0赞 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>
还没有评论,来说两句吧...