An error has occurred.See the log file xxx !MESSAGE Could not resolve module:xxx

注:

本章中我使用的开发工具是UAP3.1.6,但是其基础功能等和Eclipse一样,因此,在Eclipse中遇到此问题的同学可以参考一下,基本可以复用;


我的问题及其解决办法:

使用UAP3.1.6,修改了一下主题颜色,结果出事了。。。。
在这里插入图片描述

当我修改完主题后重启UAP时发现打不开了,UAP启动到一半就停止启动并且爆出了错误,让去工作空间下的配置文件中的日志文件去查看,如下提示:
在这里插入图片描述

查看上图工作空间路径中的日志,错误日志(部分)如下所示:

!MESSAGE Could not resolve module: org.eclipse.wst.wsdl.validation [755]
  Unresolved requirement: Require-Bundle: javax.wsdl; bundle-version="[1.5.0,1.6.0)"


!ENTRY oracle.eclipse.tools.webtier.jsf.facelet 2 0 2020-05-09 09:22:48.522
!MESSAGE Could not resolve module: oracle.eclipse.tools.webtier.jsf.facelet [159]
  Unresolved requirement: Require-Bundle: oracle.eclipse.tools.webtier.javawebapp; bundle-version="[16.3.0,17.0.0)"
    -> Bundle-SymbolicName: oracle.eclipse.tools.webtier.javawebapp; bundle-version="16.3.0.201612160743"; singleton:="true"
       oracle.eclipse.tools.webtier.javawebapp [157]
         Unresolved requirement: Require-Bundle: oracle.eclipse.tools.common.services; bundle-version="[16.3.0,17.0.0)"; visibility:="reexport"
           -> Bundle-SymbolicName: oracle.eclipse.tools.common.services; bundle-version="16.3.0.201612160743"; singleton:="true"
              oracle.eclipse.tools.common.services [119]
                Unresolved requirement: Require-Bundle: org.eclipse.wst.wsdl.validation; bundle-version="[1.1.700,2.0.0)"
                  -> Bundle-SymbolicName: org.eclipse.wst.wsdl.validation; bundle-version="1.1.700.v201505131719"; singleton:="true"
                     org.eclipse.wst.wsdl.validation [755]
                       Unresolved requirement: Require-Bundle: javax.wsdl; bundle-version="[1.5.0,1.6.0)"
         Unresolved requirement: Require-Bundle: oracle.eclipse.tools.webtier.common.services; bundle-version="[16.3.0,17.0.0)"; visibility:="reexport"
           -> Bundle-SymbolicName: oracle.eclipse.tools.webtier.common.services; bundle-version="16.3.0.201612160743"; singleton:="true"
              oracle.eclipse.tools.webtier.common.services [153]
                Unresolved requirement: Require-Bundle: oracle.eclipse.tools.xml.model; bundle-version="[16.3.0,17.0.0)"
                  -> Bundle-SymbolicName: oracle.eclipse.tools.xml.model; bundle-version="16.3.0.201612160743"; singleton:="true"
                     oracle.eclipse.tools.xml.model [171]
                       Unresolved requirement: Require-Bundle: oracle.eclipse.tools.common.services; bundle-version="[16.3.0,17.0.0)"
                         -> Bundle-SymbolicName: oracle.eclipse.tools.common.services; bundle-version="16.3.0.201612160743"; singleton:="true"
                Unresolved requirement: Require-Bundle: oracle.eclipse.tools.common.services; bundle-version="[16.3.0,17.0.0)"
                  -> Bundle-SymbolicName: oracle.eclipse.tools.common.services; bundle-version="16.3.0.201612160743"; singleton:="true"
                Unresolved requirement: Require-Bundle: oracle.eclipse.tools.application.common.services; bundle-version="[16.3.0,17.0.0)"
                  -> Bundle-SymbolicName: oracle.eclipse.tools.application.common.services; bundle-version="16.3.0.201612160743"; singleton:="true"
                     oracle.eclipse.tools.application.common.services [113]
                       Unresolved requirement: Require-Bundle: oracle.eclipse.tools.xml.model; bundle-version="[16.3.0,17.0.0)"
                         -> Bundle-SymbolicName: oracle.eclipse.tools.xml.model; bundle-version="16.3.0.201612160743"; singleton:="true"
                       Unresolved requirement: Require-Bundle: oracle.eclipse.tools.common.services; bundle-version="[16.3.0,17.0.0)"
                         -> Bundle-SymbolicName: oracle.eclipse.tools.common.services; bundle-version="16.3.0.201612160743"; singleton:="true"
         Unresolved requirement: Require-Bundle: oracle.eclipse.tools.application.common.services; bundle-version="[16.3.0,17.0.0)"; visibility:="reexport"
           -> Bundle-SymbolicName: oracle.eclipse.tools.application.common.services; bundle-version="16.3.0.201612160743"; singleton:="true"
         Unresolved requirement: Require-Bundle: oracle.eclipse.tools.xml.model; bundle-version="[16.3.0,17.0.0)"
           -> Bundle-SymbolicName: oracle.eclipse.tools.xml.model; bundle-version="16.3.0.201612160743"; singleton:="true"

最后理了一下头绪,发现应该就是由于修改了Preperences(参数)中的主题配置的关系,因此为了不再次检出项目什么的(项目比较大,费时间),所以选择损失最小的办法,把UAP部分配置信息文件 .settings 中对应的 主题配置文件 删掉就好了;
配置信息文件路径:“此项目的工作空间.metadata.plugins\org.eclipse.core.runtime.settings\org.eclipse.e4.ui.css.swt.theme”
org.eclipse.e4.ui.css.swt.theme 删掉即可;

如果修改的其他配置遇到这个问题,但是又不知道是哪个具体的文件,可以把整个.settings 文件都删掉,只不过打开后重新配置的可能就会比较多;


注:

此文件的删除不会涉及到代码,但是需要注意的是,对于代码的运行环境等信息可能会造成影响,所以当删除了此文件时需要重新配置一下开发工具中的代码运行环境等;

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

清风暖云

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值