Unresolved requi rement: Import

编程入门 行业动态 更新时间:2024-10-05 05:19:37

Unresolved <a href=https://www.elefans.com/category/jswz/34/204783.html style=requi rement: Import"/>

Unresolved requi rement: Import

开发环境
系统:windows10
开发工具IDE: idea
数据库:MySql 8.0.20
Liferay SDK: 7.3.0
Liferay运行环境:7.3.2
Liferay Tomcat: 9.0.33

 

创建完module 构建部署没有出错,就是把它放在Liferay 运行环境中运行时报如下错误

ERROR [Framework Event Dispatcher: Equinox Container: a223806f-5035-48e4-be05-175ec6ed9b0d][Framework:93] FrameworkEvent ERROR 
org.osgi.framework.BundleException: Could not resolve module: student.api [2293]_  Unresolved requirement: Import-Package: com.liferay.portal.kernel.model; version="[4.1.0,5.0.0)"_ [Sanitized]
    at org.eclipse.osgi.container.Module.start(Module.java:444)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624

更多推荐

Unresolved requi rement: Import

本文发布于:2024-03-07 14:13:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1718040.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:requi   Unresolved   Import   rement

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!