BundleException:无法解析该捆绑包。原因:缺少约束:导入包:org.apache.commons.collections4.map;版本=“ 4.2.0”

时间:2018-10-10 02:12:01

标签: bundle catalina

尝试在本地Tomcat上运行我的应用程序时,尽管我确定该软件包已作为依赖项包含在我的pom文件中,但出现以下错误。

ERROR [2018-10-10 02:03:41,483] org.apache.catalina.core.ContainerBase. 
[Catalina].[localhost].[/MyApplication]: Exception sending context initialized event to listener instance of class com.my.app.WebApplication 
 ! org.osgi.framework.BundleException: The bundle "com.my.lum.app- service_1.0.0.SNAPSHOT [1162]" could not be resolved. Reason: Missing Constraint: Import-Package: org.apache.commons.collections4.map; version="4.2.0"

0 个答案:

没有答案